Exemplo n.º 1
0
 public OrdersController(IUserServices userServices, IAddressesServices addressesServices, IProductServices productServices, BookStoreDbContext db,
                         ISuppliersService suppliersService, IOrderServices orderServices, IIncomeMoneyService incomeMoneyService)
 {
     _userServices      = userServices;
     _addressesServices = addressesServices;
     _productServices   = productServices;
     _db = db;
     _suppliersService   = suppliersService;
     _orderServices      = orderServices;
     _incomeMoneyService = incomeMoneyService;
 }
Exemplo n.º 2
0
 public InfoController(IUserServices userServices, IProductServices productServices, BookStoreDbContext db,
                       IAddressesServices addressesServices, IOrderServices orderServices, IIncomeMoneyService incomeMoneyService, ISearchService searchService, IUserRequestsService userRequestsService)
 {
     this.userServices = userServices;
     _productServices  = productServices;
     _db = db;
     _addressesServices   = addressesServices;
     _orderServices       = orderServices;
     _searchService       = searchService;
     _userRequestsService = userRequestsService;
     _incomeMoneyService  = incomeMoneyService;
 }