Пример #1
0
 public ServiceController(ISearchService <Discount, Discount> discountSearchService,
                          IVendorSearchService vendorSearchService,
                          IIdentityService identityService)
 {
     _discountSearchService = discountSearchService;
     _vendorSearchService   = vendorSearchService;
     _identityService       = identityService;
 }
Пример #2
0
 public NotificationService(
     INotificationRepository notificationRepository,
     ILogger <NotificationService> logger,
     IUserService userService,
     IVendorSearchService vendorService,
     IUserProvider userProvider,
     IMapper mapper)
 {
     _notificationRepository = notificationRepository;
     _logger        = logger;
     _userService   = userService;
     _vendorService = vendorService;
     _userProvider  = userProvider;
     _mapper        = mapper;
 }
Пример #3
0
 public VendorService(IVendorRepository vendorRepository,
                      IDiscountService discountService,
                      IMapper mapper,
                      IHistoryService historyService,
                      IVendorSearchService searchService,
                      INotificationService notificationService,
                      IUserService userService)
     : base(vendorRepository, mapper)
 {
     _vendorRepository    = vendorRepository;
     _discountService     = discountService;
     _mapper              = mapper;
     _historyService      = historyService;
     _searchService       = searchService;
     _notificationService = notificationService;
     _userService         = userService;
 }