public DonorsController( UserManager <ApplicationUser> userManager, IDonorsPatientsService donorsPatientsService, ICloudinaryService cloudinaryService, IPatientService patientService, IDonorService donorService) { this.userManager = userManager; this.donorsPatientsService = donorsPatientsService; this.cloudinaryService = cloudinaryService; this.patientService = patientService; this.donorService = donorService; }
public PatientsController( IDonorService donorService, UserManager <ApplicationUser> userManager, IDonorsPatientsService donorsPatientsService, ICloudinaryService cloudinaryService, IPatientService patientService, IEmailSender emailSender) { this.donorService = donorService; this.userManager = userManager; this.donorsPatientsService = donorsPatientsService; this.cloudinaryService = cloudinaryService; this.patientService = patientService; this.emailSender = emailSender; }