Example #1
0
 public DayRepository(DayContext context, TaskContext taskContext)
 {
     _context       = context;
     taskRepository = new TaskRepository(taskContext);
 }
 public CapstoneRepository(CapstoneContext context, DayContext dayContext, TaskContext taskContext)
 {
     _context       = context;
     dayRepository  = new DayRepository(dayContext, taskContext);
     taskRepository = new TaskRepository(taskContext);
 }