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); }
public CapstoneRepository(CapstoneContext context, DayContext dayContext, TaskContext taskContext) { _context = context; dayRepository = new DayRepository(dayContext, taskContext); taskRepository = new TaskRepository(taskContext); }