Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created May 18, 2017 20:55
Show Gist options
  • Save dcomartin/16293d88935e93ca68215789d8bb0b7e to your computer and use it in GitHub Desktop.
Save dcomartin/16293d88935e93ca68215789d8bb0b7e to your computer and use it in GitHub Desktop.
using System;
namespace Migrap.AspNetCore.Hateoas.Demo
{
public class TodoModel
{
public Guid TodoId { get; set; }
public string Title { get; set; }
public bool IsCompleted { get; set; }
public TodoModel(Guid todoId, string title)
{
TodoId = todoId;
Title = title;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment