public DrugController(IDrugService drugService, IGroupDrugService groupDrugService, IProducerService producerService, IMapper mapper) { _drugService = drugService; _groupDrugService = groupDrugService; _producerService = producerService; _mapper = mapper; }
public LiquidationController(IReceiptLiquidationService receiptLiquidationService, IDetailReceiptLiquidationService detailReceiptLiquidationService, IMapper mapper, IDrugService drugService, IUserService userService) { _receiptLiquidationService = receiptLiquidationService; _detailReceiptLiquidationService = detailReceiptLiquidationService; _mapper = mapper; _drugService = drugService; _userService = userService; }
public ExportDrugController(IReceiptExportService receiptExportService, IDetailReceiptExportService detailReceiptExportService, IMapper mapper, IDrugService drugService, IUserService userService, IClientService clientService) { _receiptExportService = receiptExportService; _detailReceiptExportService = detailReceiptExportService; _mapper = mapper; _drugService = drugService; _userService = userService; _clientService = clientService; }
public DrugReportController(IAdapterContext adapterContext, IDrugService drugService, IPharmacySystemService pharmacySystemService, IPushNotificationService pushNotificationService) { _adapterContext = adapterContext; _drugService = drugService; _pharmacySystemService = pharmacySystemService; _pushNotificationService = pushNotificationService; }
public DrugVendorController( IDrugVendorService drugVendorService, IDrugService drugService, ISystemLogService systemLogService) : base(systemLogService) { drugVendorService.InitialiseIValidationDictionary (new ModelStateWrapper(this.ModelState)); IService = drugVendorService; _drugService = drugService; }
public ImportDrug(IDrugService drugService, IGroupDrugService groupDrugService, IProducerService producerService, IMapper mapper, IUserService userService, SignInManager <IdentityUser> signInManager, UserManager <IdentityUser> userManager, IReceiptImportService receiptImportService, IDetailReceiptImportService detailReceiptImportService) { _drugService = drugService; _groupDrugService = groupDrugService; _producerService = producerService; _mapper = mapper; _userService = userService; _signInManager = signInManager; _userManager = userManager; _receiptImportService = receiptImportService; _detailReceiptImportService = detailReceiptImportService; }
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 ItemController( IDrugService drugService, IDrugSettingService drugSettingService, IDrugCostService drugCostService, IDrugAppearanceService drugAppearanceService, ICodeFileService codeFileService, ISystemLogService systemLogService) : base(systemLogService) { _modelState = new ModelStateWrapper(ModelState); drugService.InitialiseIValidationDictionary(_modelState); drugSettingService.InitialiseIValidationDictionary(_modelState); drugCostService.InitialiseIValidationDictionary(_modelState); drugAppearanceService.InitialiseIValidationDictionary(_modelState); codeFileService.InitialiseIValidationDictionary(_modelState); _drugService = drugService; _drugSettingService = drugSettingService; _drugCostService = drugCostService; _drugAppearanceService = drugAppearanceService; _codeFileService = codeFileService; }
public CompanyQuery(ICompanyService companyService, IDrugService drugService) { Name = "Query"; Field <PageInfoType>( "paginatedCompany", arguments: new QueryArguments( new QueryArgument <NonNullGraphType <IntGraphType> > { Name = "page", Description = "page of the list" }, new QueryArgument <NonNullGraphType <IntGraphType> > { Name = "size", Description = "size of the list returned" }, new QueryArgument <StringGraphType> { Name = "q", Description = "filter by name" } ), resolve: context => companyService.GetCompanysAsync(context.GetArgument <int>("page"), context.GetArgument <int>("size"), context.GetArgument <string>("q")) ); Field <CompanyType>( "company", arguments: new QueryArguments( new QueryArgument <NonNullGraphType <StringGraphType> > { Name = "id", Description = "id of the company" } ), resolve: context => companyService.GetCompanyByIdAsync(context.GetArgument <int>("id")) ); Field <ListGraphType <DrugType> >( "allDrug", resolve: context => drugService.GetDrugsAsync() ); Field <DrugType>( "drug", arguments: new QueryArguments( new QueryArgument <NonNullGraphType <StringGraphType> > { Name = "id", Description = "id of the drug" } ), resolve: context => drugService.GetDrugByIdAsync(context.GetArgument <int>("id")) ); }
public DoctorDrugService(IDrugService decoratedDrug) : base(decoratedDrug) { }
public FormAddRequestDrug(IDrugService service) { InitializeComponent(); this.serviceDrug = service; }
public DrugsApiController(IDrugService drugService) { _drugService = drugService; _log4net = log4net.LogManager.GetLogger(typeof(DrugsApiController)); }
public TenderController(ITenderService tenderService, IDrugService drugService) { _tenderService = tenderService; _drugService = drugService; }
public WeeklyDrugsViewComponent(IDrugService drugService) { this.drugService = drugService; }
public ConfigureController(IDrugService DrugService) { _drugService = DrugService; }
public DrugServiceController(IDrugService drugService, IDrugConsumptionService drugConsumptionService) { _drugService = drugService; _drugConsuptionService = drugConsumptionService; }
public DrugProcurementController(IDrugService drugService, IAdapterContext adapterContext, IPharmacySystemService pharmacySystemService) { _drugService = drugService; _adapterContext = adapterContext; _pharmacySystemService = pharmacySystemService; }
public DecoratedDrugService(IDrugService iDrugService) { this.drugServiceReference = iDrugService; }
public HomeController(IDrugService drugService) { this.drugService = drugService; }
/// <summary> /// Initializes a new instance of the <see cref="DrugsController"/> class. /// </summary> /// <param name="service">The drug service.</param> public DrugsController(IDrugService service) { this.service = service; }
public NotificationService(IDrugService drugService, IBusinessDayService businessDayService) { this.drugService = drugService; this.businessDayService = businessDayService; }
public DrugController(IDrugService service) { _drugService = service; }
public ManagerDrugService(IDrugService decoratedDrug) : base(decoratedDrug) { }
public DrugsController(IDrugService drugService, IDrugTypeService drugTypeService, IDrugInRoomService drugInRoomService) { _drugService = drugService; _drugTypeService = drugTypeService; _drugInRoomService = drugInRoomService; }
public FormDrug(IDrugService service) { InitializeComponent(); this.service = service; }
public DrugsWithLessSideEffectsViewComponent(IDrugService drugService) { this.drugService = drugService; }
public DrugsApiController(IDrugService drugService) { _drugService = drugService; }
public DrugInRoomService(IDrugInRoomRepository drugInRoomRepository, IDrugService drugService) { _drugInRoomRepository = drugInRoomRepository; _drugService = drugService; }