mirror of
https://github.com/techgarage-ir/MTWireGuard.git
synced 2025-08-20 17:38:18 +02:00
Add project files.
This commit is contained in:
commit
b2325a46ef
1351 changed files with 48136 additions and 0 deletions
14
ViewComponents/UpdateServerModalViewComponent.cs
Normal file
14
ViewComponents/UpdateServerModalViewComponent.cs
Normal file
|
@ -0,0 +1,14 @@
|
|||
using Microsoft.AspNetCore.Mvc;
|
||||
using MTWireGuard.Models.Requests;
|
||||
|
||||
namespace MTWireGuard.ViewComponents
|
||||
{
|
||||
[ViewComponent(Name = "UpdateServerModal")]
|
||||
public class UpdateServerModalViewComponent : ViewComponent
|
||||
{
|
||||
public async Task<IViewComponentResult> InvokeAsync()
|
||||
{
|
||||
return View("UpdateServerModal", new UpdateServerRequest());
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue