Beispiel #1
0
 // Inyectamos el repository por el constructor
 public ServiceTodoBL(IRepositoryTodo <Tarea> repo)
 {
     // tareaRepository = new RepositoryTodo<Tarea>();
     tareaRepository = repo;
 }
Beispiel #2
0
 public TodoController(IRepositoryTodo todos)
 {
     _todos = todos;
 }