Ejemplo n.º 1
0
 public UserRepository(UserContext userContext, CapstoneContext capstoneContext, DayContext dayContext, TaskContext taskContext)
 {
     _context           = userContext;
     capstoneRepository = new CapstoneRepository(capstoneContext, dayContext, taskContext);
     dayRepository      = new DayRepository(dayContext, taskContext);
     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);
 }