示例#1
0
 public RealEstateController(IRealEstateService realEstateService, IRealEstateClassService realEstateClassService,
                             IRealEstateStatusService realEstateStatusService, IRealEstateTypeService realEstateTypeService,
                             IRealEstateTypeWallService realEstateTypeWallService)
 {
     this.realEstateService         = realEstateService;
     this.realEstateClassService    = realEstateClassService;
     this.realEstateStatusService   = realEstateStatusService;
     this.realEstateTypeService     = realEstateTypeService;
     this.realEstateTypeWallService = realEstateTypeWallService;
 }
 public RealEstateService(IRepository <RealEstate, int> repository,
                          IServiceT <RealEstate, RealEstateDTO, int> service,
                          IAddressService addressService,
                          IRealEstateClassService classService,
                          IRealEstateStatusService statusService,
                          IRealEstateTypeService typeService,
                          IRealEstateTypeWallService typeWallRealEstate)
 {
     this.repository         = repository;
     this.service            = service;
     this.AddressService     = addressService;
     this.ClassService       = classService;
     this.StatusService      = statusService;
     this.TypeService        = typeService;
     this.TypeWallRealEstate = typeWallRealEstate;
 }
 public RealEstateTypesController(IRealEstateTypeService service, IMapper mapper)
 {
     _services = service;
     _mapper   = mapper;
 }