Created
February 17, 2018 23:49
-
-
Save FraukeN/9ddd2d0f6b691beb0dd15cd4ee04989a to your computer and use it in GitHub Desktop.
OverviewVM 2
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 OverviewVM | |
{ | |
private MockRepository _toDoRepo; | |
public IEnumerable<ToDoItem> ToDoItems { get; set; } | |
public OverviewVM() | |
{ | |
_toDoRepo = new MockRepository(); | |
ToDoItems = _toDoRepo.GetAsync().Result; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment