Now supports saving card groups, this is probably the ugliest code ive ever written but anything to avoid 20 cardgroup properties. we should see if there's a better way, it could probably be a lot cleaner
This commit is contained in:
10
TOOHUCardAPI/DTO/AbstractRequest.cs
Normal file
10
TOOHUCardAPI/DTO/AbstractRequest.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace TOOHUCardAPI.DTO
|
||||
{
|
||||
public abstract class AbstractRequest
|
||||
{
|
||||
[JsonProperty("method")]
|
||||
public string Method { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user