public DistrictsController(
     IDistrictsService districtsService,
     ILogger <DistrictsController> logger)
 {
     DistrictsService = districtsService;
     Logger           = logger;
 }
Esempio n. 2
0
 public CommunitiesService(IDeletableEntityRepository<Community> communities, IDistrictsService districts, ICitiesService cities, IRepository<User> users, IIdentifierProvider provider)
 {
     this.communities = communities;
     this.districts = districts;
     this.cities = cities;
     this.users = users;
     this.provider = provider;
 }
 public DistrictsController(IDistrictsService districtsService,
                            ICitiesService citiesService,
                            IActionResultMapper <DistrictsController> actionResultMapper)
 {
     _districtsService   = districtsService;
     _citiesService      = citiesService;
     _actionResultMapper = actionResultMapper;
 }
Esempio n. 4
0
 public CommunitiesService(IDeletableEntityRepository <Community> communities, IDistrictsService districts, ICitiesService cities, IRepository <User> users, IIdentifierProvider provider)
 {
     this.communities = communities;
     this.districts   = districts;
     this.cities      = cities;
     this.users       = users;
     this.provider    = provider;
 }
Esempio n. 5
0
 public WarehouseController(
     IWarehouseService warehouseService,
     IDistrictsService districtService,
     UserManager <ApplicationUser> userManager)
 {
     this.warehouseService = warehouseService;
     this.districtService  = districtService;
     this.userManager      = userManager;
 }
 public DistrictComparisonService(
     IDistrictsService districtsService,
     IFiscalYearsService fiscalYearsService,
     IEnumerable <IDistrictComparer> districtComparers
     )
 {
     DistrictsService   = districtsService;
     FiscalYearsService = fiscalYearsService;
     DistrictComparers  = districtComparers;
 }
Esempio n. 7
0
 public SchoolsService(
     IRepository <School> schoolRepository,
     IRepository <CandidateApplication> candidateApplicationRepository,
     IRepository <SystemUser> userRepository,
     IDistrictsService districtsService)
 {
     this.schoolRepository = schoolRepository;
     this.userRepository   = userRepository;
     this.districtsService = districtsService;
     this.candidateApplicationRepository = candidateApplicationRepository;
 }
Esempio n. 8
0
 public ScheduleController(
     IScheduleService scheduleService,
     IDistrictsService districtService,
     ISRSObjectIndustrialService srsObjectIndustrialService,
     UserManager <ApplicationUser> userManager)
 {
     this.scheduleService            = scheduleService;
     this.districtService            = districtService;
     this.srsObjectIndustrialService = srsObjectIndustrialService;
     this.userManager = userManager;
 }
Esempio n. 9
0
 public SearchController(
     ISearchService searchService,
     ICalculatorService calculatorService,
     IDistrictsService districtsService,
     ISchoolsService schoolsService)
 {
     this.searchService     = searchService;
     this.districtsService  = districtsService;
     this.schoolsService    = schoolsService;
     this.calculatorService = calculatorService;
 }
 public SRSObjectIndustrialController(
     ISRSObjectIndustrialService srsObjectIndustrialService,
     IDistrictsService districtService,
     IContainersService containerService,
     UserManager <ApplicationUser> userManager)
 {
     this.srsObjectIndustrialService = srsObjectIndustrialService;
     this.districtService            = districtService;
     this.containerService           = containerService;
     this.userManager = userManager;
 }
        private static void MostExpensiveDistricts(IDistrictsService districtsService)
        {
            Console.Write($"Count: ");
            var count = int.Parse(Console.ReadLine());

            var districts = districtsService.GetMostExpensiveDistricts(count);

            foreach (var district in districts)
            {
                Console.WriteLine($"{district.Name} => {district.AveragePricePerSquareMeter:F2}€/m² ({district.PropertiesCount})");
            }
        }
Esempio n. 12
0
 public ParentsService(
     UserManager <SystemUser> userManager,
     IRepository <Parent> parentsRepository,
     IAddressesService addressesService,
     IDistrictsService districtsService
     )
 {
     this.userManager       = userManager;
     this.parentsRepository = parentsRepository;
     this.addressesService  = addressesService;
     this.districtsService  = districtsService;
 }
Esempio n. 13
0
 public ParentController(
     IParentsService parentsService,
     IDistrictsService districtsService,
     IAddressesService addressesService,
     ICalculatorService calculatorService,
     ICandidatesService candidatesService)
 {
     this.parentsService    = parentsService;
     this.districtsService  = districtsService;
     this.addressesService  = addressesService;
     this.calculatorService = calculatorService;
     this.candidatesService = candidatesService;
 }
Esempio n. 14
0
 public HomeController(
     ISchoolsService schoolsService,
     IDistrictsService districtsService,
     ICloudinaryService cloudinaryService,
     ICandidatesService candidatesService,
     UserManager <SystemUser> userManager)
 {
     this.schoolsService    = schoolsService;
     this.districtsService  = districtsService;
     this.userManager       = userManager;
     this.cloudinaryService = cloudinaryService;
     this.candidatesService = candidatesService;
 }
Esempio n. 15
0
 public DistrictsController(IDistrictsService districtsService)
 {
     _districtsService = districtsService;
 }
Esempio n. 16
0
 public AllDistrictsComponent(IDistrictsService districtService)
 {
     this.districtService = districtService;
 }
Esempio n. 17
0
 public HomeController(IDistrictsService districtsService)
 {
     this.districtsService = districtsService;
 }
Esempio n. 18
0
 public DistrictsController(IDistrictsService districtsService, IMapper mapper)
 {
     _districtsService = districtsService;
     _mapper           = mapper;
 }
Esempio n. 19
0
 public HomeController(ILogger <HomeController> logger, IDistrictsService districtsService)
 {
     _logger = logger;
     this.districtsService = districtsService;
 }
Esempio n. 20
0
 public DistrictsController(IDistrictsService districtsServices)
 {
     this.districtsServices = districtsServices;
 }
Esempio n. 21
0
 public HomeController(IDistrictsService districtsService, IPropertiesService propertiesService)
 {
     this.districtsService = districtsService;
 }