mirror of
https://github.com/techgarage-ir/MTWireGuard.git
synced 2025-08-18 00:18:17 +02:00
15 lines
411 B
C#
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());
|
|
}
|
|
}
|
|
}
|