techgarage-ir.MTWireGuard/UI/ViewComponents/CreateClientFormViewComponent.cs
2023-06-28 18:01:39 +03:30

15 lines
411 B
C#

using Microsoft.AspNetCore.Mvc;
using MTWireGuard.Models.Requests;
using System.Xml.Linq;
namespace MTWireGuard.ViewComponents
{
[ViewComponent(Name = "CreateClientForm")]
public class CreateClientFormViewComponent : ViewComponent
{
public async Task<IViewComponentResult> InvokeAsync()
{
return View("CreateClientForm", new CreateClientRequest());
}
}
}