Exemple #1
0
        public RentalPostService(ICacheKeyService cacheKeyService, IEventPublisher eventPublisher, IWorkContext workContext,
                                 IRepository <UtilitiesPostRental> utilitiesPostRentalRepository
                                 , IRepository <PostPictureMaping> postPictureRepository,
                                 ITerritoriesServices territoriesServices,
                                 IRepository <UtilitiesRoom> utilitiesRoomRepository,
                                 IRepository <PostComment> postCommentRepository,
                                 IRepository <Picture> pictureRepository,
                                 IRepository <UtilitiesPostRental> utilitiesMapRepository,
                                 IRepository <RentalPost> rentalPostRepository
                                 , IStaticCacheManager staticCacheManager, ILogger logger)
        {
            _pictureRepository   = pictureRepository;
            _territoriesServices = territoriesServices;
            _logger = logger;
            _utilitiesPostRentalRepository = utilitiesPostRentalRepository;
            _cacheKeyService         = cacheKeyService;
            _eventPublisher          = eventPublisher;
            _utilitiesRoomRepository = utilitiesRoomRepository;
            _postCommentRepository   = postCommentRepository;
            _rentalPostRepository    = rentalPostRepository;
            _utilitiesMapRepository  = utilitiesMapRepository;

            _staticCacheManager    = staticCacheManager;
            _workContext           = workContext;
            _postPictureRepository = postPictureRepository;
        }
Exemple #2
0
 public PostRentalController(
     IRentalPostService rentalPostService,
     ITerritoriesServices territoriesServices,
     IPictureService pictruetService,
     ICategoryService categoryService,
     ILesterServices lesterServices,
     ILogger logger)
 {
     _categoryService     = categoryService;
     _lesterServices      = lesterServices;
     _rentalPostService   = rentalPostService;
     _territoriesServices = territoriesServices;
     _pictruetService     = pictruetService;
     _logger = logger;
 }
Exemple #3
0
 public TerritoriesController(ITerritoriesServices territoriesServices)
 {
     _territoriesServices = territoriesServices;
 }