Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created May 18, 2017 20:55
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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