mirror of
https://github.com/techgarage-ir/MTWireGuard.git
synced 2025-08-18 00:18:17 +02:00
14 lines
388 B
C#
14 lines
388 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
using MTWireGuard.Models.Requests;
|
|
|
|
namespace MTWireGuard.ViewComponents
|
|
{
|
|
[ViewComponent(Name = "CreateServerForm")]
|
|
public class CreateServerFormViewComponent : ViewComponent
|
|
{
|
|
public async Task<IViewComponentResult> InvokeAsync()
|
|
{
|
|
return View("CreateServerForm", new CreateServerRequest());
|
|
}
|
|
}
|
|
}
|