Пример #1
0
 public BookingController(ILogger <ListingController> logger, IBookingService bookingService, IListingService listingService, IEmailService emailService)
 {
     _logger         = logger;
     _listingService = listingService;
     _emailService   = emailService;
     _bookingService = bookingService;
 }
Пример #2
0
        public ManageController(
            IUnitOfWorkAsync unitOfWorkAsync,
            ISettingService settingService,
            ICategoryService categoryService,
            IListingService listingService,
            ICustomFieldService customFieldService,
            ICustomFieldCategoryService customFieldCategoryService,
            IContentPageService contentPageService,
            IOrderService orderService,
            ISettingDictionaryService settingDictionaryService,
            IEmailTemplateService emailTemplateService,
            DataCacheService dataCacheService,
            SqlDbService sqlDbService,
            IPluginFinder pluginFinder)
        {
            _settingService           = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService            = categoryService;
            _listingService             = listingService;
            _customFieldService         = customFieldService;
            _customFieldCategoryService = customFieldCategoryService;

            _orderService = orderService;

            _emailTemplateService = emailTemplateService;
            _contentPageService   = contentPageService;
            _unitOfWorkAsync      = unitOfWorkAsync;
            _dataCacheService     = dataCacheService;
            _sqlDbService         = sqlDbService;
            _pluginFinder         = pluginFinder;
        }
 public PromotionController(IUserService userService, IAuthentication authentication, IListingService listingService, IPromotionService promotionService)
 {
     _userService = userService;
     _authentication = authentication;
     _listingService = listingService;
     _promotionService = promotionService;
 }
Пример #4
0
 public FileController(IListingService listingService, IFileService fileService, IAgentService agentService, IUserService userService)
 {
     _listingService = listingService;
     _fileService    = fileService;
     _agentService   = agentService;
     _userService    = userService;
 }
Пример #5
0
 public ListingApiController(IListingService service
                             , ILogger <ListingApiController> logger
                             , IAuthenticationService <int> authService) : base(logger)
 {
     _service     = service;
     _authService = authService;
 }
Пример #6
0
 public EmployeeController(IUserAuthenticationService auth,
                           IEmployeePaymentService empPayService,
                           IListingService listingService) : base(auth)
 {
     EmployeePaymentService = empPayService;
     ListingService         = listingService;
 }
 public MembershipController(IUserService userService, IAuthentication authentication, IListingService listingService, IMembershipService membershipService)
 {
     _userService = userService;
     _authentication = authentication;
     _listingService = listingService;
     _membershipService = membershipService;
 }
Пример #8
0
 public FeaturedController(IUserService userService, IAuthentication authentication, IListingService listingService, IFeaturedService featuredService)
 {
     _userService = userService;
     _authentication = authentication;
     _listingService = listingService;
     _featuredService = featuredService;
 }
Пример #9
0
        public ManageController(
            IUnitOfWorkAsync unitOfWorkAsync,
            ISettingService settingService,
            ICategoryService categoryService,
            IListingService listingService,
            IPictureService pictureService,
            IListingPictureService ListingPictureservice,
            IOrderService orderService,
            ICustomFieldService customFieldService,
            ICustomFieldCategoryService customFieldCategoryService,
            ICustomFieldListingService customFieldListingService,
            ISettingDictionaryService settingDictionaryService,
            IListingStatService ListingStatservice,
            DataCacheService dataCacheService,
            SqlDbService sqlDbService)
        {
            _settingService           = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService       = categoryService;
            _listingService        = listingService;
            _pictureService        = pictureService;
            _ListingPictureservice = ListingPictureservice;
            _orderService          = orderService;

            _customFieldService         = customFieldService;
            _customFieldCategoryService = customFieldCategoryService;
            _customFieldListingService  = customFieldListingService;
            _ListingStatservice         = ListingStatservice;

            _dataCacheService = dataCacheService;
            _sqlDbService     = sqlDbService;

            _unitOfWorkAsync = unitOfWorkAsync;
        }
Пример #10
0
        public ListingController(
           IUnitOfWorkAsync unitOfWorkAsync,
           ISettingService settingService,
           ICategoryService categoryService,
           IListingService listingService,
           IPictureService pictureService,
           IListingPictureService ListingPictureservice,
           IOrderService orderService,
           ICustomFieldService customFieldService,
           ICustomFieldCategoryService customFieldCategoryService,
           ICustomFieldListingService customFieldListingService,
           ISettingDictionaryService settingDictionaryService,
           IListingStatService ListingStatservice,
           IEmailTemplateService emailTemplateService,
           DataCacheService dataCacheService,
           SqlDbService sqlDbService)
        {
            _settingService = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService = categoryService;
            _listingService = listingService;
            _pictureService = pictureService;
            _ListingPictureservice = ListingPictureservice;
            _orderService = orderService;
            _customFieldService = customFieldService;
            _customFieldCategoryService = customFieldCategoryService;
            _customFieldListingService = customFieldListingService;
            _ListingStatservice = ListingStatservice;
            _emailTemplateService = emailTemplateService;
            _dataCacheService = dataCacheService;
            _sqlDbService = sqlDbService;

            _unitOfWorkAsync = unitOfWorkAsync;
        }
Пример #11
0
 public HomeController(IListingService listingService, ILocationService locationService, IUserService userService, IAuthManager authManager, ISearchService searchService)
 {
     _listingService  = listingService;
     _locationService = locationService;
     _userService     = userService;
     _authManager     = authManager;
     _searchService   = searchService;
 }
Пример #12
0
        private IListingService GetServiceClient()
        {
            BasicHttpBinding binding             = new BasicHttpBinding();
            var             newsServiceReference = ConfigurationManager.AppSettings["ListingService"];
            EndpointAddress endpoint             = new EndpointAddress(newsServiceReference);
            IListingService client = ChannelFactory <IListingService> .CreateChannel(binding, endpoint);

            return(client);
        }
Пример #13
0
 public HomeController(
     ICategoryService categoryService,
     IListingService listingService,
     IContentPageService contentPageService)
 {
     _categoryService    = categoryService;
     _listingService     = listingService;
     _contentPageService = contentPageService;
 }
 public RequestsController(
     UserManager <User> userManager,
     IRequestService requestService,
     IListingService listingService)
 {
     this.userManager    = userManager;
     this.requestService = requestService;
     this.listingService = listingService;
 }
 public DashboardController(
     UserManager <User> userManager,
     IListingService listingService,
     IPaymentCommonService paymentService)
 {
     this.userManager    = userManager;
     this.listingService = listingService;
     this.paymentService = paymentService;
 }
Пример #16
0
        public async Task <JsonResult> GetListings()
        {
            ServiceUriBuilder builder        = new ServiceUriBuilder("ListingService");
            IListingService   listingService = ServiceProxy.Create <IListingService>(builder.ToUri(), new ServicePartitionKey(0));

            var listings = await listingService.GetAllListingsAsync();

            return(Json(listings));
        }
 public HomePageBusiness(IMasterService masterService, ICurationsService curationService, IListingService listingService, IBlogService blogService, IHomeBannerService homeBanner, ICountryService countryService, IHomePageService homePageService)
 {
     this.masterService   = masterService;
     this.curationService = curationService;
     this.listingService  = listingService;
     this.blogService     = blogService;
     this.homeBanner      = homeBanner;
     this.countryService  = countryService;
     this.homePageService = homePageService;
 }
Пример #18
0
 public ListingController(IListingService listingService,
                          ICommonService commonService,
                          ICacheManager cacheManager,
                          IWorkContext workContext)
 {
     _listingService = listingService;
     _commonService  = commonService;
     _cacheManager   = cacheManager;
     _workContext    = workContext;
 }
Пример #19
0
        public HomeController(
            ICategoryService categoryService,
            IListingService listingService,
            IContentPageService contentPageService)
        {
            _categoryService = categoryService;
            _listingService = listingService;
            _contentPageService = contentPageService;

        }
Пример #20
0
 public EndOfDayPriceDownloadService(ILogger <EndOfDayPriceDownloadService> logger, ITradingDataService tradingDataService,
                                     IEndOfDayPriceRepository endOfDayRepository, IListingService listingService, IHttpClientFactory httpClientFactory, int?delay)
 {
     this.logger             = logger;
     this.tradingDataService = tradingDataService;
     this.endOfDayRepository = endOfDayRepository;
     this.listingService     = listingService;
     this.httpClientFactory  = httpClientFactory;
     this.delay = delay;
 }
Пример #21
0
        public ListingController(
            IUnitOfWorkAsync unitOfWorkAsync,
            ISettingService settingService,
            ICategoryService categoryService,
            ICategoryListingTypeService categoryListingTypeService,
            IListingService listingService,
            IListingTypeService listingTypeService,
            ICustomFieldService customFieldService,
            ICustomFieldCategoryService customFieldCategoryService,
            ICustomFieldListingService customFieldListingService,
            IContentPageService contentPageService,
            IOrderService orderService,
            IDetailBedService detailBedService,
            ITypeOfBedService typeOfBedService,
            ISettingDictionaryService settingDictionaryService,
            IEmailTemplateService emailTemplateService,
            IPictureService pictureService,
            IListingPictureService listingPictureservice,
            IListingReviewService listingReviewService,
            DataCacheService dataCacheService,
            SqlDbService sqlDbService,
            AspNetUserService aspNetUserService,
            IListingObservationService listingObservationService)
        {
            _settingService           = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService            = categoryService;
            _categoryListingTypeService = categoryListingTypeService;

            _listingService     = listingService;
            _listingTypeService = listingTypeService;

            _pictureService = pictureService;

            _listingPictureservice = listingPictureservice;
            _listingReviewService  = listingReviewService;

            _customFieldService         = customFieldService;
            _customFieldCategoryService = customFieldCategoryService;
            _customFieldListingService  = customFieldListingService;

            _orderService = orderService;

            _emailTemplateService      = emailTemplateService;
            _contentPageService        = contentPageService;
            _unitOfWorkAsync           = unitOfWorkAsync;
            _dataCacheService          = dataCacheService;
            _detailBedService          = detailBedService;
            _typeOfBedService          = typeOfBedService;
            _sqlDbService              = sqlDbService;
            _aspNetUserService         = aspNetUserService;
            _listingObservationService = listingObservationService;
        }
Пример #22
0
 public ListingServiceTests()
 {
     this.service = ListingServiceFactory.Create();
     this.db      = DatabaseFactory.Create();
     this.existingUserWithRoleCompany = this.db.Users
                                        .Where(user => user.Email.Equals("*****@*****.**"))
                                        .First();
     this.existingUserCompany = this.db.Companies
                                .Where(c => c.OwnerId.Equals(existingUserWithRoleCompany.Id))
                                .First();
 }
Пример #23
0
 public ListingController(IListingService listingService, IMapper mapper, IOptions <AppSettings> appSettings,
                          ILogger <ListingController> logger, IHttpContextAccessor httpContextAccessor, IEmailService emailService, IAuthorizationService authorizationService, IImageService imageService, IBookingService bookingService)
 {
     _listingService       = listingService;
     _mapper               = mapper;
     _logger               = logger;
     _httpContextAccessor  = httpContextAccessor;
     _authorizationService = authorizationService;
     _imageService         = imageService;
     _bookingService       = bookingService;
     _appSettings          = appSettings.Value;
 }
Пример #24
0
 public BookingController(ILogger <ListingController> logger, IBookingService bookingService,
                          IListingService listingService, IEmailService emailService, IImageStorageService imageStorageService,
                          IAuthorizationService authorizationService, IHttpContextAccessor httpContextAccessor)
 {
     _logger               = logger;
     _listingService       = listingService;
     _emailService         = emailService;
     _imageStorageService  = imageStorageService;
     _authorizationService = authorizationService;
     _httpContextAccessor  = httpContextAccessor;
     _bookingService       = bookingService;
 }
Пример #25
0
        public PaymentController(
            IUnitOfWorkAsync unitOfWorkAsync,
            ISettingService settingService,
            ICategoryService categoryService,
            IListingService listingService,
            IPictureService pictureService,
            IListingPictureService ListingPictureservice,
            IOrderService orderService,
            ICustomFieldService customFieldService,
            ICustomFieldCategoryService customFieldCategoryService,
            ICustomFieldListingService customFieldListingService,
            ISettingDictionaryService settingDictionaryService,
            IListingStatService listingStatservice,
            IListingReviewService listingReviewService,
            DataCacheService dataCacheService,
            SqlDbService sqlDbService,
            IEmailTemplateService emailTemplateService,
            IPluginFinder pluginFinder,
            IAspNetUserService aspNetUserService,
            IAspNetRoleService aspNetRoleService,
            IDetailBedService detailBedService,
            IListingPriceService listingPriceService)
        {
            _settingService           = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService = categoryService;

            _listingService        = listingService;
            _pictureService        = pictureService;
            _listingPictureservice = ListingPictureservice;
            _listingStatservice    = listingStatservice;
            _listingReviewService  = listingReviewService;
            _detailBedService      = detailBedService;

            _orderService               = orderService;
            _customFieldService         = customFieldService;
            _customFieldCategoryService = customFieldCategoryService;
            _customFieldListingService  = customFieldListingService;
            _aspNetUserService          = aspNetUserService;
            _aspNetRoleService          = aspNetRoleService;

            _dataCacheService = dataCacheService;
            _sqlDbService     = sqlDbService;

            _pluginFinder = pluginFinder;

            _unitOfWorkAsync      = unitOfWorkAsync;
            _emailTemplateService = emailTemplateService;
            _listingPriceService  = listingPriceService;
        }
Пример #26
0
        public ManageController(
            IUnitOfWorkAsync unitOfWorkAsync,
            ISettingService settingService,
            ICategoryService categoryService,
            IListingService listingService,
            IPictureService pictureService,
            IListingPictureService ListingPictureservice,
            IOrderService orderService,
            ICustomFieldService customFieldService,
            ICustomFieldCategoryService customFieldCategoryService,
            ICustomFieldListingService customFieldListingService,
            ISettingDictionaryService settingDictionaryService,
            IListingStatService listingStatservice,
            IMessageService messageService,
            IMessageThreadService messageThreadService,
            IMessageParticipantService messageParticipantService,
            IMessageReadStateService messageReadStateService,
            DataCacheService dataCacheService,
            SqlDbService sqlDbService,


            IOrderBuyCoinService orderBuyCoinService
            )
        {
            _settingService           = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService       = categoryService;
            _listingService        = listingService;
            _pictureService        = pictureService;
            _ListingPictureservice = ListingPictureservice;
            _orderService          = orderService;

            //order buy coins
            _orderBuyCoinsService = orderBuyCoinService;

            _messageService            = messageService;
            _messageThreadService      = messageThreadService;
            _messageParticipantService = messageParticipantService;
            _messageReadStateService   = messageReadStateService;

            _customFieldService         = customFieldService;
            _customFieldCategoryService = customFieldCategoryService;
            _customFieldListingService  = customFieldListingService;
            _listingStatservice         = listingStatservice;

            _dataCacheService = dataCacheService;
            _sqlDbService     = sqlDbService;

            _unitOfWorkAsync = unitOfWorkAsync;
        }
Пример #27
0
        public ProductListingViewModel(INavigationService navigationService,
                                       IListingService listingService,
                                       IUserDialogs userDialog)
        {
            _userDialog = userDialog;

            _listingService = listingService;

            _navigationService = navigationService;

            RefreshListingCommand = new Command(async() => await OnRefreshListing());

            ListingSelectedCommand = new Command <ListingItem>(OnListingSelected);
        }
Пример #28
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HomeController" /> class.
 /// </summary>
 /// <param name="tableCacheHandler">to store result in blob cache</param>
 /// <param name="homePageBusiness">Cache Data from storage</param>
 /// <param name="stateService">State Service</param>
 /// <param name="configuration">Web Config</param>
 /// <param name="homePageService">Home Page Service</param>
 /// <param name="countryService">The Country Service.</param>
 /// <param name="cityService">The City Service.</param>
 /// <param name="listingService">Listing Service</param>
 /// <param name="blogService">Blog Service</param>
 /// <param name="curationService">Curation Service</param>
 /// <param name="mapper">The mapper.</param>
 /// <param name="masterService">The master service.</param>
 /// <param name="domainSetting">The domain setting.</param>
 /// <param name="hostingEnvironment">The hosting environment.</param>
 /// <param name="viewRenderService">The view render service.</param>
 /// <param name="userDetailService">The user detail service.</param>
 /// <param name="package">The package.</param>
 /// <param name="hotelBookingService">The hotel booking service.</param>
 /// <param name="homeBanner">The home banner.</param>
 /// <param name="dealService">Deal Service</param>
 public HomeController(ITableCacheHandler tableCacheHandler, IHomePageBusiness homePageBusiness, IStateService stateService, IConfiguration configuration, IHomePageService homePageService, ICountryService countryService, ICityService cityService, IListingService listingService, IBlogService blogService, ICurationsService curationService, IMapper mapper, IMasterService masterService, IOptions <DomainSetting> domainSetting, IHostingEnvironment hostingEnvironment, IViewRenderService viewRenderService, IUserDetailService userDetailService, IPackageService package, IHotelBookingService hotelBookingService, IHomeBannerService homeBanner, IDealService dealService)
     : base(mapper, homePageService, cityService, countryService, configuration, stateService)
 {
     this.tableCacheHandler  = tableCacheHandler;
     this.homePageBusiness   = homePageBusiness;
     this.homePageService    = homePageService;
     this.listingService     = listingService;
     this.package            = package;
     this.hostingEnvironment = hostingEnvironment;
     this.viewRenderService  = viewRenderService;
     this.domainSetting      = domainSetting.Value;
     this.masterService      = masterService;
     this.dealService        = dealService;
 }
Пример #29
0
 public ListingController(IListingService listingService, IMapper mapper, IOptions <AppSettings> appSettings,
                          ILogger <ListingController> logger, IAuthorizationService authorizationService, IImageService imageService, IBookingService bookingService,
                          IDeviceResolver deviceResolver, IImageStorageService imageStorageService)
 {
     _listingService       = listingService;
     _mapper               = mapper;
     _logger               = logger;
     _authorizationService = authorizationService;
     _imageService         = imageService;
     _bookingService       = bookingService;
     _imageStorageService  = imageStorageService;
     _appSettings          = appSettings.Value;
     _device               = deviceResolver.Device;
 }
Пример #30
0
        public ListingController(
            IUnitOfWorkAsync unitOfWorkAsync,
            ISettingService settingService,
            ICategoryService categoryService,
            IListingService listingService,
            IPictureService pictureService,
            IListingPictureService listingPictureservice,
            IOrderService orderService,
            IDetailBedService detailBedService,
            ITypeOfBedService typeOfBedService,
            ICustomFieldService customFieldService,
            ICustomFieldCategoryService customFieldCategoryService,
            ICustomFieldListingService customFieldListingService,
            ISettingDictionaryService settingDictionaryService,
            IListingStatService listingStatservice,
            IListingReviewService listingReviewService,
            IEmailTemplateService emailTemplateService,
            IMessageService messageService,
            IMessageThreadService messageThreadService,
            IMessageParticipantService messageParticipantService,
            IMessageReadStateService messageReadStateService,
            DataCacheService dataCacheService,
            SqlDbService sqlDbService,
            AspNetUserService aspNerUserService)
        {
            _settingService           = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService            = categoryService;
            _listingService             = listingService;
            _listingReviewService       = listingReviewService;
            _pictureService             = pictureService;
            _listingPictureservice      = listingPictureservice;
            _orderService               = orderService;
            _customFieldService         = customFieldService;
            _customFieldCategoryService = customFieldCategoryService;
            _customFieldListingService  = customFieldListingService;
            _ListingStatservice         = listingStatservice;
            _emailTemplateService       = emailTemplateService;
            _messageService             = messageService;
            _messageParticipantService  = messageParticipantService;
            _messageReadStateService    = messageReadStateService;
            _messageThreadService       = messageThreadService;
            _dataCacheService           = dataCacheService;
            _sqlDbService               = sqlDbService;
            _detailBedService           = detailBedService;
            _typeOfBedService           = typeOfBedService;
            _unitOfWorkAsync            = unitOfWorkAsync;
            _aspNetUserService          = aspNerUserService;
        }
Пример #31
0
 public HomeController(
     ICategoryService categoryService,
     IListingService listingService,
     IContentPageService contentPageService,
     IContentPageRoleService contentPageRoleService,
     ICustomFieldCategoryService customFieldCategoryService,
     IMetaFieldService metaFieldService)
 {
     _categoryService            = categoryService;
     _listingService             = listingService;
     _contentPageService         = contentPageService;
     _contentPageRoleService     = contentPageRoleService;
     _customFieldCategoryService = customFieldCategoryService;
     _metaFieldService           = metaFieldService;
 }
Пример #32
0
        public ListingDetailViewModel(LikeViewModel likeViewModel,
                                      IPageDialogService dialogService,
                                      IListingService listingService)
        {
            _listingService = listingService;

            _dialogService = dialogService;

            LikeViewModel = likeViewModel;

            ChangeColorCommand = new Command(OnChangeColor);

            IsLoading = false;

            ShowContent = false;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="SearchController" /> class.
 /// </summary>
 /// <param name="homePageBusiness">Home Page Business</param>
 /// <param name="tableCacheHandler">Table Cache Handler</param>
 /// <param name="stateService">State Service</param>
 /// <param name="configuration">Web Config</param>
 /// <param name="homePageService">Home Page Service</param>
 /// <param name="countryService">The Country Service.</param>
 /// <param name="cityService">The City Service.</param>
 /// <param name="listingService">Listing Service</param>
 /// <param name="mapper">The mapper.</param>
 public SearchController(
     IHomePageBusiness homePageBusiness,
     ITableCacheHandler tableCacheHandler,
     IStateService stateService,
     IConfiguration configuration,
     IHomePageService homePageService,
     ICountryService countryService,
     ICityService cityService,
     IListingService listingService,
     IMapper mapper)
     : base(mapper, homePageService, cityService, countryService, configuration, stateService)
 {
     this.homePageBusiness  = homePageBusiness;
     this.homePageService   = homePageService;
     this.tableCacheHandler = tableCacheHandler;
     this.listingService    = listingService;
 }
Пример #34
0
 public ValuationService(IEndOfDayPriceService endOfDayPriceService,
                         ICurrencyRateService currencyRateService,
                         IListingService listingService,
                         IValuationRepository valuationRepository,
                         IBuyTradeRepository buyTradeRepository,
                         ISellTradeRepository sellTradeRepository,
                         ILogger <ValuationService> logger
                         )
 {
     this.endOfDayPriceService = endOfDayPriceService;
     this.currencyRateService  = currencyRateService;
     this.listingService       = listingService;
     this.valuationRepository  = valuationRepository;
     this.buyTradeRepository   = buyTradeRepository;
     this.sellTradeRepository  = sellTradeRepository;
     _logger = logger;
 }
Пример #35
0
        public ManageController(
            IUnitOfWorkAsync unitOfWorkAsync,
            ISettingService settingService,
            ICategoryService categoryService,
            IListingService listingService,
            IPictureService pictureService,
            IListingPictureService ListingPictureservice,
            IOrderService orderService,
            ICustomFieldService customFieldService,
            ICustomFieldCategoryService customFieldCategoryService,
            ICustomFieldListingService customFieldListingService,
            ISettingDictionaryService settingDictionaryService,
            IListingStatService listingStatservice,
            IMessageService messageService,
            IMessageThreadService messageThreadService,
            IMessageParticipantService messageParticipantService,
            IMessageReadStateService messageReadStateService,
            DataCacheService dataCacheService,
            SqlDbService sqlDbService)
        {
            _settingService = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService = categoryService;
            _listingService = listingService;
            _pictureService = pictureService;
            _ListingPictureservice = ListingPictureservice;
            _orderService = orderService;

            _messageService = messageService;
            _messageThreadService = messageThreadService;
            _messageParticipantService = messageParticipantService;
            _messageReadStateService = messageReadStateService;

            _customFieldService = customFieldService;
            _customFieldCategoryService = customFieldCategoryService;
            _customFieldListingService = customFieldListingService;
            _listingStatservice = listingStatservice;

            _dataCacheService = dataCacheService;
            _sqlDbService = sqlDbService;

            _unitOfWorkAsync = unitOfWorkAsync;
        }
Пример #36
0
        public ListingController(
            IUnitOfWorkAsync unitOfWorkAsync,
            ISettingService settingService,
            ICategoryService categoryService,
            ICategoryListingTypeService categoryListingTypeService,
            IListingService listingService,
            IListingTypeService ListingTypeService,
            ICustomFieldService customFieldService,
            ICustomFieldCategoryService customFieldCategoryService,
            ICustomFieldListingService customFieldListingService,
            IContentPageService contentPageService,
            IOrderService orderService,
            ISettingDictionaryService settingDictionaryService,
            IEmailTemplateService emailTemplateService,
            IPictureService pictureService,
            IListingPictureService ListingPictureservice,
            DataCacheService dataCacheService,
            SqlDbService sqlDbService)
        {
            _settingService           = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService            = categoryService;
            _categoryListingTypeService = categoryListingTypeService;

            _listingService     = listingService;
            _ListingTypeService = ListingTypeService;

            _pictureService        = pictureService;
            _ListingPictureservice = ListingPictureservice;

            _customFieldService         = customFieldService;
            _customFieldCategoryService = customFieldCategoryService;
            _customFieldListingService  = customFieldListingService;

            _orderService = orderService;

            _emailTemplateService = emailTemplateService;
            _contentPageService   = contentPageService;
            _unitOfWorkAsync      = unitOfWorkAsync;
            _dataCacheService     = dataCacheService;
            _sqlDbService         = sqlDbService;
        }
Пример #37
0
        public PluginController(
            IUnitOfWorkAsync unitOfWorkAsync,
            ISettingService settingService,
            ISettingDictionaryService settingDictionaryService,
            ICategoryService categoryService,
            IListingService listingService,
            DataCacheService dataCacheService,
            IPluginFinder pluginFinder)
        {
            _settingService = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService = categoryService;
            _listingService = listingService;

            _unitOfWorkAsync = unitOfWorkAsync;
            _dataCacheService = dataCacheService;

            _pluginFinder = pluginFinder;
        }
Пример #38
0
        public PaymentController(
            IUnitOfWorkAsync unitOfWorkAsync,
            ISettingService settingService,
            ICategoryService categoryService,
            IListingService listingService,
            IPictureService pictureService,
            IListingPictureService ListingPictureservice,
            IOrderService orderService,
            ICustomFieldService customFieldService,
            ICustomFieldCategoryService customFieldCategoryService,
            ICustomFieldListingService customFieldListingService,
            ISettingDictionaryService settingDictionaryService,
            IListingStatService ListingStatservice,
            DataCacheService dataCacheService,
            SqlDbService sqlDbService,
            IPluginFinder pluginFinder)
        {
            _settingService = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService = categoryService;
            _listingService = listingService;
            _pictureService = pictureService;
            _ListingPictureservice = ListingPictureservice;
            _orderService = orderService;
            _customFieldService = customFieldService;
            _customFieldCategoryService = customFieldCategoryService;
            _customFieldListingService = customFieldListingService;
            _ListingStatservice = ListingStatservice;

            _dataCacheService = dataCacheService;
            _sqlDbService = sqlDbService;

            _pluginFinder = pluginFinder;

            _unitOfWorkAsync = unitOfWorkAsync;
        }
Пример #39
0
 public HomeController(IListingService listingService)
 {
     _listingService = listingService;
     _dbContext = new XBankingDbContext();
 }
 public ValuesController(IListingService listingService)
 {
     _listingService = listingService;
 }
Пример #41
0
        public ManageController(
            IUnitOfWorkAsync unitOfWorkAsync,
            ISettingService settingService,
            ICategoryService categoryService,
            IListingService listingService,
            ICustomFieldService customFieldService,
            ICustomFieldCategoryService customFieldCategoryService,
            IContentPageService contentPageService,
            IOrderService orderService,
            ISettingDictionaryService settingDictionaryService,
            IEmailTemplateService emailTemplateService,
            DataCacheService dataCacheService,
            SqlDbService sqlDbService,
            IPluginFinder pluginFinder)
        {
            _settingService = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService = categoryService;
            _listingService = listingService;
            _customFieldService = customFieldService;
            _customFieldCategoryService = customFieldCategoryService;

            _orderService = orderService;

            _emailTemplateService = emailTemplateService;
            _contentPageService = contentPageService;
            _unitOfWorkAsync = unitOfWorkAsync;
            _dataCacheService = dataCacheService;
            _sqlDbService = sqlDbService;
            _pluginFinder = pluginFinder;
        }
 public ListingController()
 {
     _listingService = new ListingService();
 }
 public HomeController(IListingService listingService)
 {
     _listingService = listingService;
 }
Пример #44
0
 public ListingController(IUserService userService, IAuthentication authentication, IListingService listingService)
 {
     _userService = userService;
     _authentication = authentication;
     _listingService = listingService;
 }