public ShiftRepository(AppDbContext context, ITimeRepository timeRepository, IDoctorShiftRepository doctorShiftRepository) { this.context = context; this.timeRepository = timeRepository; this.doctorShiftRepository = doctorShiftRepository; }
public DoctorShiftsController(IMapper mapper, IDoctorShiftRepository repository) { this.mapper = mapper; this.repository = repository; }