public FlatListViewModel(IFlatService service, IMessageService messageService,
                          IDistrictService districtService, IRealtorService realtorService,
                          IOwnershipService ownershipService, IDealVariantService dealVariantService,
                          IConditionService conditionService,
                          IExcelService excelService, IWordService wordService,
                          IServiceLocator serviceLocator)
     : base(
         service, messageService, districtService, realtorService, ownershipService, dealVariantService, conditionService,
         excelService,
         wordService, serviceLocator)
 {
 }
Пример #2
0
 public FlatEditViewModel(IFlatService service, IMessageService messageService,
                          IDistrictService districtService, IViewsService viewsService,
                          IRealtorService realtorService, IOwnershipService ownershipService,
                          IDealVariantService dealVariantService,
                          ITerraceService terraceService, IMaterialService materialService,
                          ILayoutService layoutService, IFloorLevelService floorLevelService, IToiletTypeService toiletTypeService, IConditionService conditionalService)
     : base(service, messageService, districtService, realtorService, ownershipService, dealVariantService, conditionalService)
 {
     _ViewsService      = viewsService;
     _TerraceService    = terraceService;
     _MaterialService   = materialService;
     _LayoutService     = layoutService;
     _FloorLevelService = floorLevelService;
     _ToiletTypeService = toiletTypeService;
 }
 private void CreateServices()
 {
     dealVariantService = _serviceLocator.GetInstance <DealVariantService>();
     districtService    = _serviceLocator.GetInstance <IDistrictService>();
     floorLevelService  = _serviceLocator.GetInstance <IFloorLevelService>();
     layoutService      = _serviceLocator.GetInstance <ILayoutService>();
     materialService    = _serviceLocator.GetInstance <IMaterialService>();
     ownershipService   = _serviceLocator.GetInstance <IOwnershipService>();
     realtorService     = _serviceLocator.GetInstance <IRealtorService>();
     sewageService      = _serviceLocator.GetInstance <ISewageService>();
     streetService      = _serviceLocator.GetInstance <IStreetService>();
     terraceService     = _serviceLocator.GetInstance <ITerraceService>();
     toiletTypeService  = _serviceLocator.GetInstance <IToiletTypeService>();
     waterSupplyService = _serviceLocator.GetInstance <IWaterSupplyService>();
     flatService        = _serviceLocator.GetInstance <IFlatService>();
     houseService       = _serviceLocator.GetInstance <IHouseService>();
     plotService        = _serviceLocator.GetInstance <IPlotService>();
     residenceService   = _serviceLocator.GetInstance <IResidenceService>();
     roomService        = _serviceLocator.GetInstance <IRoomService>();
 }
Пример #4
0
 public ResidentController(IResidentService residentService, IFlatService flatService)
 {
     this.residentService = residentService;
     this.flatService     = flatService;
 }
Пример #5
0
 public FlatController(ISocietyService societyService, IFlatService flatService)
 {
     _societyService = societyService;
     _flatService    = flatService;
 }
Пример #6
0
 public OfferService(FlatFinderContext context, IFlatService flatService, IUserService userService)
 {
     _context     = context;
     _flatService = flatService;
     _userService = userService;
 }
Пример #7
0
 public FlatController(IFlatService flatService, IImageService imageService)
 {
     _flatService  = flatService;
     _imageService = imageService;
 }
Пример #8
0
 public FlatController(IFlatService flatService)
 {
     _flatService = flatService;
 }
Пример #9
0
 public FlatController(IFlatService flatService)
 {
     this.flatService = flatService;
 }
Пример #10
0
 public FlatController()
     : base(new UserService())
 {
     _flatService = new FlatService();
 }