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; }
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; }
public TerritoriesController(ITerritoriesServices territoriesServices) { _territoriesServices = territoriesServices; }