Created
June 2, 2018 11:16
-
-
Save FraukeN/fc45d6067a8cf18b9a60187098bb80ce to your computer and use it in GitHub Desktop.
OverviewVM with repo injection
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 OverviewVM(IRepository<ToDoItem> toDoRepo) | |
{ | |
_toDoRepo = toDoRepo ?? throw new ArgumentNullException("toDoRepo"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment