Change project to 3-Layer structure

This commit is contained in:
Tech Garage 2023-06-02 15:26:29 +03:30
parent 2f900a5036
commit 2d67540e13
1365 changed files with 760 additions and 618 deletions

View file

@ -1,15 +0,0 @@
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());
}
}
}