public RequisitionActionsFacadeService( IRequisitionService requisitionService, IRepository <RequisitionHeader, int> requisitionRepository) { this.requisitionService = requisitionService; this.requisitionRepository = requisitionRepository; }
/// <summary> /// Initializes a new instance of the <see cref="RequisitionsController"/> class. /// </summary> /// <param name="serviceProvider"> /// The service provider. /// </param> public RequisitionsController(IServiceProvider serviceProvider) { Prevent.NullObject(serviceProvider, nameof(serviceProvider)); this.logger = serviceProvider.GetRequiredService <ILogger <RequisitionsController> >(); this.requisitionService = serviceProvider.GetRequiredService <IRequisitionService>(); }
public RequisitionBoardController() { var dbfactory = new DatabaseFactory(); _RequisitionService = new RequisitionService(new RequisitionRepository(dbfactory), new RequisitionApprovalRepository(dbfactory), new NotificationRepository(dbfactory), new NotificationDetailRepository(dbfactory), new UnitOfWork(dbfactory)); }
public StationeryController() { invService = new InventoryService(); deptService = new DepartmentService(); reqService = new RequisitionService(); uSvc = new UtilityService(); pushSvc = new PushNotification(); }
public SurgeryService( IRequisitionService requisitionService, IAggregatedDataService aggregatedDataService, ISpecimenService specimenService) { AutoMapperConfig.RegisterAutoMapperConfig(); this.requisitionService = requisitionService; this.aggregatedDataService = aggregatedDataService; this.specimenService = specimenService; }
public ValuesController(IProductService productService, IRequisitionService requisitionService, IApprovalService approvalService, IAdminService adminService) { this.productService = productService; this.requisitionService = requisitionService; this.approvalService = approvalService; this.adminService = adminService; }
public RequisitionController(IRequisitionService requisitionService, IHttpContextAccessor httpContextAccessor, UserManager <IdentityUser> _userManager, SignInManager <IdentityUser> _signInManager, IOptions <AppSettings> appSettings, IMapper mapper) { this._userManager = _userManager; this._signInManager = _signInManager; _appSettings = appSettings.Value; _httpContextAccessor = httpContextAccessor; _requisitionService = requisitionService; _mapper = mapper; }
public RequisitionController(IDepartmentService departmentService, IItemService itemService, IRequisitionService requisitionService, IItemRequisitionService itemRequisitionService, IDisbursementService disbursementService, IItemDisbursementService itemDisbursementService, IInventoryService inventoryService) { this.requisitionService = requisitionService; this.itemRequisitionService = itemRequisitionService; this.itemService = itemService; this.departmentService = departmentService; this.disbursementService = disbursementService; this.itemDisbursementService = itemDisbursementService; this.InventoryService = inventoryService; }
public RequisitionApplication( ILifetimeScope context, IRequisitionService requisitionService, IRequisitionRepository requisitionRepository, ICustomerImportService customerImportService, IStoreRepository storeRepository) : base(context) { this.requisitionService = requisitionService; this.requisitionRepository = requisitionRepository; this.customerImportService = customerImportService; this.storeRepository = storeRepository; }
public RequisitionController() { var dbfactory = new DatabaseFactory(); _RequisitionService = new RequisitionService(new RequisitionRepository(dbfactory), new RequisitionApprovalRepository(dbfactory), new NotificationRepository(dbfactory), new NotificationDetailRepository(dbfactory), new UnitOfWork(dbfactory)); _SecCompanyService = new SecCompanyService(new SecCompanyRepository(dbfactory), new UnitOfWork(dbfactory)); _officeService = new OfficeService(new OfficeRepository(dbfactory), new UnitOfWork(dbfactory)); _hrmEmployeeService = new HrmEmployeeService(new HrmEmployeeRepository(dbfactory), new UnitOfWork(dbfactory)); _RequisitionDetailService = new RequisitionDetailService(new RequisitionDetailRepository(dbfactory), new UnitOfWork(dbfactory)); //approval controller - to control all approvals _approvalController = new ApprovalController<InvRequisitionApproval, InvRequisitionViewModel>(_RequisitionService); }
public DepartmentController(IDisbursementService disbursementService, IItemDisbursementService itemDisbursementService, IRequisitionService requisitionService, IItemRequisitionService itemRequisitionService, IInventoryService inventoryService, IItemService itemService, IDepartmentService departmentService, IUserService userService, IDepartmentDelegationService departmentDelegationService) { this.disbursementService = disbursementService; this.itemDisbursementService = itemDisbursementService; this.requisitionService = requisitionService; this.itemRequisitionService = itemRequisitionService; this.inventoryService = inventoryService; this.itemService = itemService; this.departmentService = departmentService; this.userService = userService; this.departmentDelegationService = departmentDelegationService; }
public HomeController(IUserService userService, IDepartmentDelegationService departmentDelegationService, IPurchaseOrderService purchaseOrderService, IStockAdjustmentService stockAdjustmentService, IDisbursementService disbursementService, IItemService itemService, IInventoryService inventoryService, IRequisitionService requisitionService, IItemDisbursementService itemDisbursementService) { this.userService = userService; this.departmentDelegationService = departmentDelegationService; //dashboard for store this.purchaseOrderService = purchaseOrderService; this.stockAdjustmentService = stockAdjustmentService; this.disbursementService = disbursementService; this.itemService = itemService; this.inventoryService = inventoryService; //dashboard for department this.requisitionService = requisitionService; this.itemDisbursementService = itemDisbursementService; }
public RequisitionController(ISystemService systemService, IRequisitionService service) { _systemService = systemService; _service = service; }
public RequisitionController() { service = IoC.Resolve <IRequisitionService>("RequisitionService"); buyerService = IoC.Resolve <IBuyerService>("BuyerService"); }
public RequisitionController(IRequisitionService requisitionService) { _requisitionService = requisitionService ?? throw new ArgumentNullException(nameof(requisitionService)); }
public RequisitionController() { service = IoC.Resolve<IRequisitionService>("RequisitionService"); buyerService = IoC.Resolve<IBuyerService>("BuyerService"); }
public HeadController() { reqsvc = new RequisitionService(); depsvc = new DepartmentService(); }
public PurchaseController(IRequisitionService requisitionService) { this.requisitionService = requisitionService; }