Skip to content

Instantly share code, notes, and snippets.

@chrisriesgo
Last active July 17, 2016 17:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisriesgo/38103217158d94b0dbbca04ce60c6108 to your computer and use it in GitHub Desktop.
Save chrisriesgo/38103217158d94b0dbbca04ce60c6108 to your computer and use it in GitHub Desktop.
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; }
}
}
using Newtonsoft.Json;
using AppServiceHelpers.Models;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment