public CommonController() { _cityRepo = new CityRepo(); _countyRepo = new CountyRepo(); _transfusionCenterRepo = new TransfusionCenterRepo(); _requestRepo = new RequestRepo(); _profileRepo = new ProfileRepo(); _appointmentService = new DonationAppointmentService(new DonationAppointmentRepo()); _bloodTypeService = new BloodTypeService(new BloodTypeRepo()); _notificationService = new NotificationService(); _labResultService = new LabResultService(new LabResultRepo()); _donationService = new DonationService(new DonationRepo()); }
public DoctorController() { _profileService = new ProfileService(); _requestService = new RequestService(); _bloodTypeService = new BloodTypeService(new BloodTypeRepo()); }