public SaleController(ISaleService saleService, IBaseObjectService <User> userService, IBaseObjectService <SaleProduct> saleProductService, IInfoMoneyService infoMoneyService, IBaseObjectService <Partner> partnerService, IBaseObjectService <ProductInformation> productInformationService, IBaseObjectService <SupplyProduct> supplyProductService, IBaseObjectService <Supplier> supplierService, IBaseObjectService <Shop> shopService, IMoneyOperationService moneyOperationService, ShopContext db, ISaleStatisticService saleStatisticService, ISaleInfoService saleInfoService, IProductOperationService productOperationService, IBookingProductInformationService bookingProductInformationService, PostgresContext postgresContext) { _saleService = saleService; _userService = userService; _saleProductService = saleProductService; _infoMoneyService = infoMoneyService; _partnerService = partnerService; _productInformationService = productInformationService; _supplyProductService = supplyProductService; _supplierService = supplierService; _db = db; _shopService = shopService; _moneyOperationService = moneyOperationService; _saleStatisticService = saleStatisticService; _saleInfoService = saleInfoService; _productOperationService = productOperationService; _bookingProductInformationService = bookingProductInformationService; _postgresContext = postgresContext; }
public MainWindow( IProductService productService, IStorageService storageService, IUnitService unitService, IDocumentTypeService documentTypeService, IProductOperationService productOperationService, IRuleSaleService ruleSaleService, IOperationTypeService operationTypeService, IDocumentService documentService, IStorageRemainderService storageRemainderService, IDocumentOperationService documentOperationService) { _productService = productService; _storageService = storageService; _unitService = unitService; _documentTypeService = documentTypeService; _productOperationService = productOperationService; _ruleSaleService = ruleSaleService; _operationTypeService = operationTypeService; _documentService = documentService; _storageRemainderService = storageRemainderService; _documentOperationService = documentOperationService; try { InitializeData(); InitializeComponent(); InitializedParams(); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
public ManagerController(IBaseObjectService <Partner> partnerService, IBaseObjectService <User> userService, ISaleService saleService, IInfoMoneyService infoMoneyService, IProductService productService, IBaseObjectService <Booking> bookingService, IShopService shopService, IBaseObjectService <BookingProduct> bookingProductService, IBaseObjectService <Category> categoryService, IBaseObjectService <SupplyProduct> supplyProduct, IBaseObjectService <SaleProduct> saleProductService, IBaseObjectService <SaleInformation> saleInformationService, IBaseObjectService <ExpenseCategory> expenseCategoryService, IBaseObjectService <Expense> expenseService, IBaseObjectService <ProductInformation> productInformation, ShopContext db, IProductOperationService productOperationService, IMoneyOperationService moneyOperationService, IMoneyStatisticService moneyStatisticService, IBookingProductInformationService bookingProductInformationService, ISaleInfoService saleInfoService, PostgresContext postgresContext) { _partnerService = partnerService; _userService = userService; _saleService = saleService; _infoMoneyService = infoMoneyService; _productService = productService; _bookingService = bookingService; _shopService = shopService; _bookingProductService = bookingProductService; _categoryService = categoryService; _supplyProduct = supplyProduct; _saleProductService = saleProductService; _saleInformationService = saleInformationService; _expenseCategoryService = expenseCategoryService; _expenseService = expenseService; _productInformation = productInformation; _productOperationService = productOperationService; _db = db; _moneyOperationService = moneyOperationService; _moneyStatisticService = moneyStatisticService; _bookingProductInformationService = bookingProductInformationService; _saleInfoService = saleInfoService; _postgresContext = postgresContext; }
public ProductController(IProductService productService, IBaseObjectService <Category> categoryService, IShopService shopService, IBaseObjectService <SupplyProduct> supplierProductService, IBaseObjectService <User> userService, IBaseObjectService <BookingProduct> bookingProductService, IProductOperationService productOperationService, ShopContext db, PostgresContext postgresContext) { _productService = productService; _categoryService = categoryService; _shopService = shopService; _supplyProductService = supplierProductService; _userService = userService; _bookingProductService = bookingProductService; _productOperationService = productOperationService; _db = db; _postgresContext = postgresContext; }
public SaleService(ShopContext context, IInfoMoneyService infoMoneyService, IBaseObjectService <SaleProduct> saleProductService, IProductService productService, IShopService shopService, IBaseObjectService <SaleInformation> saleInformationService, IBaseObjectService <MoneyWorker> moneyWorkerService, IMoneyOperationService moneyOperationService, IBaseObjectService <ProductInformation> productInformationService, IProductOperationService productOperationService) : base(context) { _infoMoneyService = infoMoneyService; _saleProductService = saleProductService; _productService = productService; _shopService = shopService; _saleInformationService = saleInformationService; _moneyWorkerService = moneyWorkerService; _moneyOperationService = moneyOperationService; _productOperationService = productOperationService; _productInformationService = productInformationService; }
public InitializeData( IProductService productService, IStorageService storageService, IUnitService unitService, IDocumentTypeService documentTypeService, IProductOperationService productOperationService, IRuleSaleService ruleSaleService, IOperationTypeService operationTypeService, IDocumentService documentService, IStorageRemainderService storageRemainderService, IDocumentOperationService documentOperationService) { _productService = productService; _storageService = storageService; _unitService = unitService; _documentTypeService = documentTypeService; _productOperationService = productOperationService; _ruleSaleService = ruleSaleService; _operationTypeService = operationTypeService; _documentService = documentService; _storageRemainderService = storageRemainderService; _documentOperationService = documentOperationService; }
public DocumentService(CashierArmContext context) : base(context) { _documentOperationService = new DocumentOperationService(context); _productOperationService = new ProductOperationService(context); }