public PrescriptionsViewModel(INavigationService navigationService, ISessionService sessionService, IPrescriptionService prescriptionService) { _navigationService = navigationService; _sessionService = sessionService; _prescriptionService = prescriptionService; LoadPrescriptionsCommand = new Command(Load); AddPrescriptionCommand = new Command(HandleAddPrescriptionCommand); Prescriptions = new ObservableCollection <PrescriptionViewModel>(); }
public PrescriptionController(IClinicianService clinicianService, UserManager <ApplicationUser> userManager, IProfileService profileService, IPrescriptionService prescriptionService, IEmailSender emailSender, IPharmacyService pharmacyService) { _clinicianService = clinicianService; _userManager = userManager; _profileService = profileService; _prescriptionService = prescriptionService; _emailSender = emailSender; _pharmacyService = pharmacyService; }
public ProfileController(IPrescriptionService PrescriptionService, IPatientService PatientService, UserManager <IdentityUser> UserManager, IAppUserService AppUserService, IAppAuthorisationService AppAuthorisationService, IUserOrgRoleService UserOrgRoleService ) : base(UserManager, AppUserService, AppAuthorisationService, UserOrgRoleService) { }
public ReportsController(IClinicianService clinicianService, UserManager <ApplicationUser> userManager, IProfileService profileService, IPrescriptionService prescriptionService, ICreditService creditService, IAppointmentService appointmentService) { _clinicianService = clinicianService; _userManager = userManager; _prescriptionService = prescriptionService; _profileService = profileService; _creditService = creditService; _appointmentService = appointmentService; }
public ExaminationService(IExaminationUpcomingRepository upcomingRepository, IExaminationPreviousRepository previousRepository, IDiagnosisService diagnosisService, IPrescriptionService prescriptionService, IReferralService referralService, ISymptomService symptomService, ITherapyService therapyService) { _upcomingRepository = upcomingRepository; _previousRepository = previousRepository; _diagnosisService = diagnosisService; _prescriptionService = prescriptionService; _referralService = referralService; _symptomService = symptomService; _therapyService = therapyService; }
public PrescriptionController(IPrescriptionService prescriptionService, IPharmacySystemService pharmacySystemService, IAdapterContext adapterContext, IPushNotificationService pushNotificationService) { _prescriptionService = prescriptionService; _pharmacySystemService = pharmacySystemService; _adapterContext = adapterContext; _pushNotificationService = pushNotificationService; }
public HomeController(UserManager <ApplicationUser> userManager, IDoctorService doctorService, IMedicamentService medicamentService, IPrescriptionService prescriptionService, IPatientService patientAccountService, IVisitService visitService, ISpecializationService specializationService, IReferralService referralService) { _userManager = userManager; _doctorService = doctorService; _medicamentService = medicamentService; _prescriptionService = prescriptionService; _patientAccountService = patientAccountService; _visitService = visitService; _specializationService = specializationService; _referralService = referralService; }
public AuditingPrescriptionService(IPrescriptionService service, int userID) { if (service == null) { throw new ArgumentNullException(nameof(service)); } if (userID <= 0) { throw new ArgumentOutOfRangeException(nameof(userID)); } this.Service = service; this.UserID = userID; }
public AuditingPrescriptionService(IPrescriptionService service, int userID) { if(service == null) { throw new ArgumentNullException(nameof(service)); } if(userID <= 0) { throw new ArgumentOutOfRangeException(nameof(userID)); } this.Service = service; this.UserID = userID; }
public PrescriptionController(IPrescriptionService PrescriptionService, IDrugService DrugService, IPatientService PatientService, UserManager <IdentityUser> UserManager, IAppUserService AppUserService, IAppAuthorisationService AppAuthorisationService, IUserOrgRoleService UserOrgRoleService ) : base(UserManager, AppUserService, AppAuthorisationService, UserOrgRoleService) { _prescriptionService = PrescriptionService; _drugService = DrugService; _patientService = PatientService; }
public PrescriptionsController( ApplicationDbContext context, IPrescriptionService prescriptionService, UserManager <ApplicationUser> userManager, IEmailSender emailSender, SignInManager <ApplicationUser> signInManager ) { _context = context; _prescriptionService = prescriptionService; _userManager = userManager; _emailSender = emailSender; _signInManager = signInManager; }
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 HomeController(IPrescriptionService PrescriptionService, IPatientService PatientService, UserManager <IdentityUser> UserManager, IAppUserService AppUserService, IAppAuthorisationService AppAuthorisationService, IUserOrgRoleService UserOrgRoleService ) : base(UserManager, AppUserService, AppAuthorisationService, UserOrgRoleService) { _prescriptionService = PrescriptionService; _patientService = PatientService; //_appUserService = AppUserService; //_userManager = UserManager; //_appAuthorisationService = AppAuthorisationService; }
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; }
static void Main(string[] args) { Container = new UnityContainer(); Container.AddNewExtension <Interception>(); Container.RegisterType <IPrescription, Prescription>(); Container.RegisterType <IPrescriptionService, PrescriptionService>( new Interceptor <InterfaceInterceptor>(), new InterceptionBehavior <AuditingInterceptionBehavior>()); IPrescriptionService service = Container.Resolve <IPrescriptionService>(); IPrescription prescription = service.GetPrescriptionByID(1); Console.WriteLine("Retrieved: {0}", prescription); Console.ReadKey(); }
/// <summary> /// The constructor /// </summary> public PrescriptionController(IPrescriptionService prescriptionService, IValidatorService validatorService) { _prescriptionService = prescriptionService; _validatorService = validatorService; }
public PrescriptionController(IPrescriptionService prescriptionService) { this.prescriptionService = prescriptionService; }
public PrescriptionController(IPrescriptionService animalService) { _prescriptionService = animalService; }
/// <summary> /// Initializes a new instance of the <see cref="PrescriptionsController"/> class. /// </summary> /// <param name="service">The prescription service.</param> public PrescriptionsController(IPrescriptionService service) { this.service = service; }
public PrescriptionController(IPrescriptionService service) { _prescriptionService = service; }
public MedicalfilesController(IMedicalfileService medicalFileService, IPrescriptionService prescriptionService) { _medicalFileService = medicalFileService; _prescriptionService = prescriptionService; }
public OrderController(IMedicineService medicineService, IPrescriptionService prescriptionService, IOrderService orderService) { _medicineService = medicineService; _prescriptionService = prescriptionService; _orderService = orderService; }
public PrescriptionController(IPrescriptionService prescriptionService, IMedicineService medicineService) { _prescriptionService = prescriptionService; _medicineService = medicineService; }
public PrescriptionController(IPrescriptionService dbService) { _dbService = dbService; }