Add project files.

This commit is contained in:
Tech Garage 2023-03-03 23:24:18 +03:30
commit b2325a46ef
1351 changed files with 48136 additions and 0 deletions

View file

@ -0,0 +1,15 @@
using Microsoft.AspNetCore.Mvc;
using MTWireGuard.Models.Requests;
namespace MTWireGuard.ViewComponents
{
[ViewComponent(Name = "UpdateClientModal")]
public class UpdateClientModalViewComponent : ViewComponent
{
public async Task<IViewComponentResult> InvokeAsync(List<Models.Mikrotik.WGServerViewModel> Servers)
{
ViewData["Servers"] = Servers;
return View("UpdateClientModal", new UpdateClientRequest());
}
}
}