Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TODOController"/> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 public TODOController(ITODORepository repository)
 {
     this.repository = repository;
 }
Example #2
0
 public TODOService(ITODORepository toDoRepository)
 {
     _toDoRepository = toDoRepository;
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TODOController" /> class.
 /// </summary>
 public TODOController()
 {
     this.repository = new TODORepository();
 }