Exemplo n.º 1
0
 public CategoryController(IUnitOfWork db, ICategoriesService categoryService, IBillsService billService, IOffersService offerService)
 {
     this.db = db;
     this.categoryService = categoryService;
     this.billService     = billService;
     this.offerService    = offerService;
 }
Exemplo n.º 2
0
 public VoucherController(IUnitOfWork db, IVouchersService voucherService, IOffersService offerService, IUsersService userService)
 {
     this.db             = db;
     this.voucherService = voucherService;
     this.offerService   = offerService;
     this.userService    = userService;
 }
Exemplo n.º 3
0
 public OfferController(IUnitOfWork db, IOffersService offerService, IUsersService userService, ICategoriesService categoryService)
 {
     this.db              = db;
     this.offerService    = offerService;
     this.userService     = userService;
     this.categoryService = categoryService;
 }
Exemplo n.º 4
0
 public ReadCardMessageHandler(IBusPublisher busPublisher, IOffersService offersService,
                               IPosTopicClassifier posTopicClassifier, IPosFeatureVerifier featureVerifier, ILogger <ReadCardMessageHandler> logger)
     : base(posTopicClassifier, logger, featureVerifier)
 {
     _busPublisher  = busPublisher ?? throw new ArgumentNullException(nameof(busPublisher));
     _offersService = offersService ?? throw new ArgumentNullException(nameof(offersService));
 }
Exemplo n.º 5
0
 public BillsController(IBillsService billsService, IOffersService offersService, IUsersService usersService, IVouchersService vouchersService)
 {
     this.billsService    = billsService;
     this.offersService   = offersService;
     this.usersService    = usersService;
     this.vouchersService = vouchersService;
 }
 public SaleStateChangeCreatedHandler(IBusPublisher busPublisher, IAccountingService accountingService, IOffersService offersService, IStockOperationsService stockOperationsService, ILogger <SaleStateChangeCreatedHandler> logger)
 {
     _busPublisher           = busPublisher ?? throw new ArgumentNullException(nameof(busPublisher));
     _accountingService      = accountingService ?? throw new ArgumentNullException(nameof(accountingService));
     _offersService          = offersService ?? throw new ArgumentNullException(nameof(offersService));
     _stockOperationsService = stockOperationsService ?? throw new ArgumentNullException(nameof(stockOperationsService));
     _logger = logger;
 }
Exemplo n.º 7
0
 public BillController(IUnitOfWork db, IBillsService billService, IOffersService offerService, IUsersService userService, IVouchersService voucherService, IEmailsService emailsService)
 {
     this.db             = db;
     this.billService    = billService;
     this.offerService   = offerService;
     this.userService    = userService;
     this.voucherService = voucherService;
     this.emailsService  = emailsService;
 }
 public AllOffersViewModel(IConnectionService connectionService,
                           INavigationService navigationService,
                           IOffersService offersService,
                           IDialogService dialogService)
     : base(connectionService, navigationService, dialogService)
 {
     _offerService = offersService;
     AllOffers     = new ObservableCollection <Offer>();
 }
 public ProfileDropdownViewComponent(
     IOffersService offersService,
     UserManager <ApplicationUser> userManager,
     IInquiriesService inquiriesService)
 {
     this.offersService    = offersService;
     this.userManager      = userManager;
     this.inquiriesService = inquiriesService;
 }
 public CategoriesController(
     ICategoriesService categoriesService,
     IOffersService offersService,
     UserManager <ApplicationUser> userManager)
 {
     this.categoriesService = categoriesService;
     this.offersService     = offersService;
     this.userManager       = userManager;
 }
Exemplo n.º 11
0
 public ProcessSwipeHandler(IProductsService prodSvc, IPointsOfSaleService posSvc, IOffersService offSvc, IIdentityService idSvc, IAccountingGroupsService agSvc, IBusPublisher busPublisher, IAccountingService acSvc)
 {
     _prodSvc      = prodSvc;
     _posSvc       = posSvc;
     _offSvc       = offSvc;
     _idSvc        = idSvc;
     _agSvc        = agSvc;
     _busPublisher = busPublisher;
     _acSvc        = acSvc;
 }
Exemplo n.º 12
0
 public OffersController(
     IOffersService offersService,
     ISuppliersService suppliersService,
     ICategoriesService categoriesService,
     IMedicinesService medicinesService)
 {
     this.offersService     = offersService;
     this.suppliersService  = suppliersService;
     this.categoriesService = categoriesService;
     this.medicinesService  = medicinesService;
 }
Exemplo n.º 13
0
 public OffersController(
     IOffersService offersService,
     ICategoriesService categoriesService,
     IMedicinesService medicinesService,
     IPharmaciesService pharmaciesService,
     UserManager <ApplicationUser> userManager)
 {
     this.offersService     = offersService;
     this.categoriesService = categoriesService;
     this.medicinesService  = medicinesService;
     this.pharmaciesService = pharmaciesService;
     this.userManager       = userManager;
 }
Exemplo n.º 14
0
 public AppointmentsBusinessService(
     IAppointmentsService appointmentsService,
     IOffersService offersService,
     IUserService userService,
     IMapper mapper,
     IBus publisher)
 {
     _appointmentsService = appointmentsService;
     _offersService       = offersService;
     _userService         = userService;
     _mapper    = mapper;
     _publisher = publisher;
 }
Exemplo n.º 15
0
 public Cart(
     INomenclatureService nomenclatureService,
     IOffersCalculator offersCalculator,
     IOffersService offersService,
     IPriceService priceService,
     ICheckoutService checkoutService)
 {
     this.nomenclatureService = nomenclatureService;
     this.offersCalculator    = offersCalculator;
     this.offersService       = offersService;
     this.priceService        = priceService;
     this.checkoutService     = checkoutService;
 }
Exemplo n.º 16
0
        public OffersServiceTests()
        {
            this.users  = new List <ApplicationUser>();
            this.ads    = new List <Ad>();
            this.offers = new List <Offer>();

            var usersRepository  = new EfDeletableEntityRepository <ApplicationUser>(this.DbContext);
            var offersRepository = new EfDeletableEntityRepository <Offer>(this.DbContext);
            var adsRepository    = new EfDeletableEntityRepository <Ad>(this.DbContext);

            this.service = new OffersService(offersRepository, usersRepository, adsRepository);

            this.InitializeRepositoriesData();
        }
Exemplo n.º 17
0
 public OffersController(
     IOffersService offersService,
     UserManager<ApplicationUser> userManager,
     IUsersService usersService,
     IAdsService adsService,
     ICategoriesService categoriesService,
     IEmailSender emailSender)
 {
     this.offersService = offersService;
     this.userManager = userManager;
     this.usersService = usersService;
     this.adsService = adsService;
     this.categoriesService = categoriesService;
     this.emailSender = emailSender;
 }
Exemplo n.º 18
0
 public HomeController(
     IHomeService homeService,
     IUsersService usersService,
     IOffersService offersSerivice,
     UserManager <ApplicationUser> userManager,
     IAdsService adsService,
     IBaseJobCategoriesService baseJobCategoriesService)
 {
     this.homeService              = homeService;
     this.usersService             = usersService;
     this.offersSerivice           = offersSerivice;
     this.userManager              = userManager;
     this.adsService               = adsService;
     this.baseJobCategoriesService = baseJobCategoriesService;
 }
Exemplo n.º 19
0
 public OffersController(
     IFacilitiesService facilitiesService,
     IBedTypesService bedTypesService,
     IOffersService offersService,
     IPropertiesService propertiesService,
     ICurrenciesService currenciesService,
     UserManager <ApplicationUser> userManager,
     IWebHostEnvironment environment)
 {
     this.facilitiesService = facilitiesService;
     this.bedTypesService   = bedTypesService;
     this.offersService     = offersService;
     this.propertiesService = propertiesService;
     this.currenciesService = currenciesService;
     this.userManager       = userManager;
     this.environment       = environment;
 }
Exemplo n.º 20
0
 public DashboardController(ICategoryService CategoryService,
                            IAdvertisingService advertisingService,
                            IProductService productService,
                            IOffersService offersService,
                            ICartItemService cartItemService,
                            IOrderService orderService,
                            IOrderItemService orderItemService,
                            IUserNotificationCountService userNotificationCountService)
 {
     _CategoryService              = CategoryService;
     _AdvertisingService           = advertisingService;
     _ProductService               = productService;
     _OffersService                = offersService;
     _cartItemService              = cartItemService;
     _orderService                 = orderService;
     _orderItemService             = orderItemService;
     _userNotificationCountService = userNotificationCountService;
 }
 public PropertiesController(
     ICountriesService countriesService,
     ITownsService townsService,
     ICurrenciesService currenciesService,
     IPropertyCategoriesService propertyCategoriesService,
     IPropertiesService propertiesService,
     UserManager <ApplicationUser> userManager,
     IFacilitiesService facilitiesService,
     IRulesService rulesService,
     IWebHostEnvironment environment,
     IOffersService offersService)
     : base(townsService, currenciesService)
 {
     this.countriesService          = countriesService;
     this.propertyCategoriesService = propertyCategoriesService;
     this.propertiesService         = propertiesService;
     this.userManager       = userManager;
     this.facilitiesService = facilitiesService;
     this.rulesService      = rulesService;
     this.environment       = environment;
     this.offersService     = offersService;
 }
Exemplo n.º 22
0
 public OffersController(IOffersService offersService)
 {
     _offersService = offersService;
 }
Exemplo n.º 23
0
 public Checkout(IItemCatalogue itemCatalogue, IOffersService offersService)
 {
     _itemCatalogue = itemCatalogue;
     _offersService = offersService;
 }
Exemplo n.º 24
0
 public VouchersController(IVouchersService vouchersService, IOffersService offersService, IUsersService usersService)
 {
     this.vouchersService = vouchersService;
     this.offersService   = offersService;
     this.usersService    = usersService;
 }
Exemplo n.º 25
0
 public OfferVerifier(IOffersService service) : base("offer", "offer")
 {
     _service = service ?? throw new ArgumentNullException(nameof(service));
 }
Exemplo n.º 26
0
 public OffersListModel(IOffersService offersService)
 {
     _offersService = offersService;
 }
Exemplo n.º 27
0
 public Preview(IOffersService offersService, ISessionHelper sessionHelper)
 {
     this.offersService = offersService;
     _sessionHelper     = sessionHelper;
 }
Exemplo n.º 28
0
 public OffersController(IOffersService offersService, IOfferCategoriesService offerCategoriesService)
 {
     this.offersService          = offersService;
     this.offerCategoriesService = offerCategoriesService;
 }
Exemplo n.º 29
0
 public ModifyModel(IOffersService offersService)
 {
     _offersService = offersService;
 }
 public PolRegioOffersController(IOffersService offersService)
 {
     _offersService = offersService;
 }