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