Exemple #1
0
 public AdminNavbarComponent(IPartnerRequestsService partnerRequestService,
                             IUserRequestsService userRequestService,
                             IOrdersService ordersService)
 {
     this.partnerRequestService = partnerRequestService;
     this.userRequestService    = userRequestService;
     this.ordersService         = ordersService;
 }
Exemple #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;
 }
Exemple #3
0
 public HomeController(IChildCategoriesService childCategoryService,
                       IParentCategoriesService parentCategoryService,
                       IProductsService productService,
                       IUserRequestsService userRequestService,
                       IMapper mapper)
 {
     this.childCategoryService  = childCategoryService;
     this.parentCategoryService = parentCategoryService;
     this.productService        = productService;
     this.userRequestService    = userRequestService;
     this.mapper = mapper;
 }
 public ContactsController(IUserRequestsService userRequestsService)
 {
     this.userRequestsService = userRequestsService;
 }
 public ContactsController(IUserRequestsService userRequestsService, IEmailSender emailSender)
 {
     this.userRequestsService = userRequestsService;
     this.emailSender         = emailSender;
 }
 public UserRequestsController(IUserRequestsService userRequestService, IMapper mapper)
 {
     this.userRequestService = userRequestService;
     this.mapper             = mapper;
 }