public TravelPlansController() { CarpoolManagementContext context = new CarpoolManagementContext(); _travelPlanRepository = new TravelPlanRepository(context); _carpoolRepository = new CarpoolRepository(context); _employeeRepository = new EmployeeRepository(context); }
public CarpoolRepository(CarpoolManagementContext context) { this.context = context; }
public EmployeeRepository(CarpoolManagementContext context) { this.context = context; }
public TravelPlanRepository(CarpoolManagementContext context) { this.context = context; }