Ejemplo n.º 1
0
 public DayRepository(DayContext context, TaskContext taskContext)
 {
     _context       = context;
     taskRepository = new TaskRepository(taskContext);
 }
Ejemplo n.º 2
0
 public CapstoneRepository(CapstoneContext context, DayContext dayContext, TaskContext taskContext)
 {
     _context       = context;
     dayRepository  = new DayRepository(dayContext, taskContext);
     taskRepository = new TaskRepository(taskContext);
 }