Last active
July 17, 2016 17:41
-
-
Save chrisriesgo/38103217158d94b0dbbca04ce60c6108 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TodoItem : EntityData | |
{ | |
string id; | |
string name; | |
bool done; | |
[JsonProperty(PropertyName = "id")] | |
public string Id | |
{ | |
get { return id; } | |
set { id = value; } | |
} | |
[JsonProperty(PropertyName = "text")] | |
public string Name | |
{ | |
get { return name; } | |
set { name = value; } | |
} | |
[JsonProperty(PropertyName = "complete")] | |
public bool Done | |
{ | |
get { return done; } | |
set { done = value; } | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Newtonsoft.Json; | |
using AppServiceHelpers.Models; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment