mirror of
https://github.com/techgarage-ir/MTWireGuard.git
synced 2025-08-25 11:55:20 +02:00
Add project files.
This commit is contained in:
commit
b2325a46ef
1351 changed files with 48136 additions and 0 deletions
13
Models/Requests/ChangeStateRequest.cs
Normal file
13
Models/Requests/ChangeStateRequest.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.Build.Framework;
|
||||
|
||||
namespace MTWireGuard.Models.Requests
|
||||
{
|
||||
public class ChangeStateRequest
|
||||
{
|
||||
[FromQuery(Name = "ID"), Required]
|
||||
public int Id { get; set; }
|
||||
[FromQuery(Name = "IsEnabled"), Required]
|
||||
public bool Enabled { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue