public PatientProfileController(IPatientService patientService, IPatientProfileService patientProfileService, IHttpContextAccessor httpContextAccessor, UserManager <IdentityUser> _userManager, SignInManager <IdentityUser> _signInManager, IOptions <AppSettings> appSettings, IMapper mapper) { this._userManager = _userManager; this._signInManager = _signInManager; _appSettings = appSettings.Value; _httpContextAccessor = httpContextAccessor; _patientProfileService = patientProfileService; _mapper = mapper; _patientService = patientService; }
public PatientService(IMapper mapper, IHttpContextAccessor httpContextAccessor, UserManager <IdentityUser> _userManager, SignInManager <IdentityUser> _signInManager, IOptions <AppSettings> appSettings, IPatientProfileService patientProfileService, ApplicationDbContext dbContext) { this._userManager = _userManager; this._signInManager = _signInManager; _appSettings = appSettings.Value; _httpContextAccessor = httpContextAccessor; _dbContext = dbContext; _mapper = mapper; _userId = httpContextAccessor.HttpContext.User.FindFirst(ClaimTypes.NameIdentifier).Value; _patientProfileService = patientProfileService; }
public DoctorController(IPatientProfileService patientProfileService, IPrescriptionService prescriptionService, IMedicineForPrescriptionService medicineForPrescriptionService, IMedicalTestService medicalTestService, IPatientsConsultService patientsConsultService, IPatientConsultSingleService patientConsultSingleService, IPatientsProblemPageForDoctorService patientProblemService, IDoctorProfileService doctorProblemService) { _patientProfileService = patientProfileService; _prescriptionService = prescriptionService; _medicineForPrescriptionService = medicineForPrescriptionService; _medicalTestService = medicalTestService; _patientsConsultService = patientsConsultService; _patientConsultSingleService = patientConsultSingleService; _patientProblemService = patientProblemService; _doctorProfileService = doctorProblemService; }
public PatientController(ISpecialityService specialityService, IPatientProfileService patientProfileService, IDoctorProfileService doctorProfileService, IPatientsConsultService consultService, IPatientsConsultService patientsConsultService, IPrescriptionService prescriptionService, IMedicalTestService testService, IMedicineForPrescriptionService medicineForPrescriptionService, IPatientsProblemPageForDoctorService patientsProblemPageForDoctorService) { _specialityService = specialityService; _patientProfileService = patientProfileService; _doctorProfileService = doctorProfileService; _consultService = consultService; _patientsConsultService = patientsConsultService; _prescriptionService = prescriptionService; _testService = testService; _medicineForPrescriptionService = medicineForPrescriptionService; _patientsProblemPageForDoctorService = patientsProblemPageForDoctorService; }
public AccountController(IPatientProfileService patientProfileService, IDoctorProfileService doctorProfileService) { _patientProfileService = patientProfileService; _doctorProfileService = doctorProfileService; _helper = new Helper(); }
public PatientController(IPatientProfileService patientService) { this.patientService = patientService; }
/// <summary> /// Initializes a new instance of the <see cref="PatientProfileRuleEngine"/> class. /// </summary> /// <param name="patientProfileService">The patient Profile Service.</param> public PatientProfileRuleEngine(IPatientProfileService patientProfileService) { _patientProfileService = patientProfileService; }