public AppointmentsController(IAppointmentRepo repository, IMapper mapper, IDoctorRepo doctorRepo, IPacientRepo pacientRepo) { _pacientRepository = pacientRepo; _doctorRepository = doctorRepo; _repository = repository; _mapper = mapper; }
public PacientsController(IPacientRepo repository, IMapper mapper) { _repository = repository; _mapper = mapper; }