mirror of
https://github.com/techgarage-ir/MTWireGuard.git
synced 2025-08-20 09:28:19 +02:00
Use new front-end based on Dashmin template
This commit is contained in:
parent
c118242c5b
commit
dbd7fafb34
4391 changed files with 228401 additions and 73494 deletions
|
@ -6,16 +6,8 @@ namespace MTWireGuard.Pages
|
|||
{
|
||||
public class LogsModel : PageModel
|
||||
{
|
||||
private readonly IMikrotikRepository API;
|
||||
|
||||
public LogsModel(IMikrotikRepository mikrotik)
|
||||
public void OnGet()
|
||||
{
|
||||
API = mikrotik;
|
||||
}
|
||||
|
||||
public async Task OnGetAsync()
|
||||
{
|
||||
ViewData["Logs"] = await API.GetLogsAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue