Last active
August 29, 2019 07:59
-
-
Save LayZeeDK/56d7a5eb26600c85bcc710e29064e820 to your computer and use it in GitHub Desktop.
C#: Todo item
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 | |
{ | |
public string Id { get; set; } | |
public bool IsDone { get; set; } | |
public string Title { get; set; } | |
public async Task Save() | |
{ | |
// Write to database | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment