예제 #1
0
 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;
 }
예제 #2
0
 public ShopService(ShopContext context,
                    IInfoMoneyService infoMoneyService,
                    IBaseObjectService <User> userService) : base(context)
 {
     _context          = context;
     _infoMoneyService = infoMoneyService;
     _userService      = userService;
 }
예제 #3
0
 public MoneyOperationService(IInfoMoneyService infoMoneyService,
                              IBaseObjectService <Expense> expenseService,
                              IBaseObjectService <MoneyWorker> moneyWorkerService)
 {
     _infoMoneyService   = infoMoneyService;
     _expenseService     = expenseService;
     _moneyWorkerService = moneyWorkerService;
 }
 public CalculatedScoreController(IBaseObjectService <CalculatedScore> calculatedScoreService,
                                  IInfoMoneyService infoMoneyService,
                                  ShopContext db,
                                  PostgresContext postgresContext)
 {
     _calculatedScoreService = calculatedScoreService;
     _infoMoneyService       = infoMoneyService;
     _db = db;
     _postgresContext = postgresContext;
 }
예제 #5
0
 public SaleInfoService(IBaseObjectService <SaleProduct> saleProductService,
                        IBaseObjectService <Partner> partnerService,
                        ISaleService saleService,
                        IInfoMoneyService infoMoneyService)
 {
     _saleProductService = saleProductService;
     _parnterService     = partnerService;
     _saleService        = saleService;
     _infoMoneyService   = infoMoneyService;
 }
예제 #6
0
 public CardKeeperController(IBaseObjectService <CardKeeper> cardKeeperService,
                             IInfoMoneyService infoMoneyService,
                             ShopContext db,
                             PostgresContext postgresContext)
 {
     _cardKeeperService = cardKeeperService;
     _infoMoneyService  = infoMoneyService;
     _db = db;
     _postgresContext = postgresContext;
 }
 public AcaoTask(IAcaoService acaoService,
                 BancoContext context,
                 IOpcaoService opcaoService,
                 IInfoMoneyService infoMoneyService
                 )
 {
     _acaoService       = acaoService;
     _context           = context;
     _opcaoService      = opcaoService;
     _informoneyService = infoMoneyService;
 }
예제 #8
0
 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;
 }
예제 #9
0
 public ProductService(ShopContext context,
                       IInfoMoneyService infoMoneyService,
                       IBaseObjectService <SupplyProduct> supplyProductService,
                       IBaseObjectService <Supplier> supplierService,
                       IBaseObjectService <BookingProduct> bookingProductsService,
                       IBaseObjectService <ProductInformation> productInformationService,
                       IBaseObjectService <Booking> bookingService,
                       PostgresContext postgresContext) : base(context)
 {
     _context                   = context;
     _infoMoneyService          = infoMoneyService;
     _supplyProductService      = supplyProductService;
     _supplierService           = supplierService;
     _productInformationService = productInformationService;
     _bookingProductService     = bookingProductsService;
     _bookingService            = bookingService;
     _postgresContext           = postgresContext;
 }
예제 #10
0
 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;
 }
예제 #11
0
 public MoneyStatisticService(IBaseObjectService <Expense> expenseService,
                              IInfoMoneyService infoMoneyService)
 {
     _expenseService   = expenseService;
     _infoMoneyService = infoMoneyService;
 }