diff options
author | crupest <crupest@outlook.com> | 2019-11-20 19:59:06 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-11-20 19:59:06 +0800 |
commit | 37382ac85675bded43f800fec18fa8eb2ba22706 (patch) | |
tree | c6dd5ff348ac2522c92056048670d18ff7d37064 /Timeline/Models/Http/Common.cs | |
parent | f2ca682f8d111112adc167dcf62011676c3ceb00 (diff) | |
download | timeline-37382ac85675bded43f800fec18fa8eb2ba22706.tar.gz timeline-37382ac85675bded43f800fec18fa8eb2ba22706.tar.bz2 timeline-37382ac85675bded43f800fec18fa8eb2ba22706.zip |
Migrate to System.Text.Json . Format enum to string instead of number. Use ISO8601 format for datetime.
Diffstat (limited to 'Timeline/Models/Http/Common.cs')
-rw-r--r-- | Timeline/Models/Http/Common.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Timeline/Models/Http/Common.cs b/Timeline/Models/Http/Common.cs index 2a88b3a3..d1e95397 100644 --- a/Timeline/Models/Http/Common.cs +++ b/Timeline/Models/Http/Common.cs @@ -72,6 +72,8 @@ namespace Timeline.Models.Http {
public class ResponseData
{
+ public ResponseData() { }
+
public ResponseData(bool create)
{
Create = create;
@@ -106,6 +108,8 @@ namespace Timeline.Models.Http {
public class ResponseData
{
+ public ResponseData() { }
+
public ResponseData(bool delete)
{
Delete = delete;
|