Пример #1
0
 public AdvertController(IAdvertService db, IAdvertTypeService advertTypedb, IWebHostEnvironment _webHostEnvironment,
                         IMapper IMapper)
 {
     this.db           = db;
     this.advertTypedb = advertTypedb;
     this.IMapper      = IMapper;
 }
Пример #2
0
 public AdminController(IAuthService authService, IHeatingService heatingService, IAdvertTypeService advertTypeService, IAdvertService advertService, IRealEstateService realEstateService, IAdminService adminService, IHttpContextAccessor httpContextAccessor)
 {
     _authService       = authService;
     _heatingService    = heatingService;
     _advertTypeService = advertTypeService;
     _advertService     = advertService;
     _realEstateService = realEstateService;
     _adminService      = adminService;
 }
Пример #3
0
 public AdvertController(IAdvertService advertService, IWebHostEnvironment hostEnvironment, IProvinceService provinceService, IAdvertTypeService advertTypeService, IHeatingService heatingService, INeighborhoodService neighborhoodService, IDistrictService districtService, IPlaceService placeService)
 {
     _advertService       = advertService;
     _hostEnvironment     = hostEnvironment;
     _provinceService     = provinceService;
     _advertTypeService   = advertTypeService;
     _heatingService      = heatingService;
     _neighborhoodService = neighborhoodService;
     _districtService     = districtService;
     _placeService        = placeService;
 }
Пример #4
0
 public RealEstateController(IAuthService authService, IRealEstateService realEstateService, IDistrictService districtService, IPlaceService placeService, INeighborhoodService neighborhoodService, IAdvertTypeService advertTypeService, IHeatingService heatingService, IWebHostEnvironment hostEnvironment, IProvinceService provinceService, IAdvertService advertService, IPhotoService photoService)
 {
     _authService         = authService;
     _realEstateService   = realEstateService;
     _districtService     = districtService;
     _placeService        = placeService;
     _neighborhoodService = neighborhoodService;
     _advertTypeService   = advertTypeService;
     _heatingService      = heatingService;
     _hostEnvironment     = hostEnvironment;
     _provinceService     = provinceService;
     _advertService       = advertService;
     _photoService        = photoService;
 }
 public AdvertTypeController(IAdvertTypeService advertTypeService)
 {
     this._advertTypeService = advertTypeService;
 }
Пример #6
0
 public AdvertTypeController(IAdvertTypeService db)
 {
     this.db = db;
 }