Пример #1
0
 public TransactionService(AppDbContext context, AccountService accountService, ProductsListService productsListService,
                           FuelingService fuelingService, ProductService productService, TankService tankService, LoyaltyCardService loyaltyCardService)
 {
     _context             = context;
     _accountService      = accountService;
     _productsListService = productsListService;
     _fuelingService      = fuelingService;
     _productService      = productService;
     _tankService         = tankService;
     _loyaltyCardService  = loyaltyCardService;
 }
 public DistributorService(AppDbContext context, TankDistributorService tankDistributorService, TankService tankService)
 {
     _context = context;
     _tankDistributorService = tankDistributorService;
     _tankService            = tankService;
 }