public CollegeStat(ICollegeRepository repository, CollegeInfo info, CollegeYearInfo yearInfo, IInfrastructureRepository infrastructureRepository, IHotSpotENodebRepository eNodebRepository, IHotSpotCellRepository cellRepository, IHotSpotBtsRepository btsRepository, IHotSpotCdmaCellRepository cdmaCellRepository) { Name = info.Name; ExpectedSubscribers = yearInfo?.ExpectedSubscribers ?? 0; Area = repository.GetRegion(info.Id)?.Area ?? 0; Id = info.Id; UpdateStats(infrastructureRepository); TotalLteENodebs = eNodebRepository.Count( x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.ENodeb); TotalLteCells = cellRepository.Count( x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.Cell); TotalCdmaBts = btsRepository.Count( x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.CdmaBts); TotalCdmaCells = cdmaCellRepository.Count( x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.CdmaCell); }
public CollegeStatService(ICollegeRepository repository, IInfrastructureRepository infrastructureRepository, ICollegeYearRepository yearRepository) { _repository = repository; _infrastructureRepository = infrastructureRepository; _yearRepository = yearRepository; }
public YearClassController( IAsyncRepository <YearClass> yearClassRepository, ICollegeRepository collegeRepository) { _yearClassRepository = yearClassRepository; _collegeRepository = collegeRepository; }
public College4GTestController(ICollege4GTestRepository repository, ICollegeRepository collegeRepository, IENodebRepository eNodebRepository, ICellRepository cellRepository) { _repository = repository; _collegeRepository = collegeRepository; _eNodebRepository = eNodebRepository; _cellRepository = cellRepository; }
public CollegeAlarmController(ICollegeRepository repository, IInfrastructureRepository infrastructureRepository, IAlarmRepository alarmRepository, IENodebRepository eNodebRepository) { _repository = repository; _infrastructureRepository = infrastructureRepository; _alarmRepository = alarmRepository; _eNodebRepository = eNodebRepository; }
public CollegesController(ICollegeRepository collegeRepository, IMapper mapper, ITeacherRepository teacherRepository) { _collegeRepository = collegeRepository; _mapper = mapper; _teacherRepository = teacherRepository; }
public AccomodationService(IAccomodationRepository accomodationRepository, IStudentRepository studentRepository, ICollegeRepository collegeRepository, ICollegeTimeRepository collegeTimeRepository) { _accomodationRepository = accomodationRepository; _studentRepository = studentRepository; _collegeRepository = collegeRepository; _collegeTimeRepository = collegeTimeRepository; }
public College4GTestService(ICollege4GTestRepository repository, ICollegeRepository collegeRepository, IENodebRepository eNodebRepository, ICellRepository cellRepository) { _repository = repository; _collegeRepository = collegeRepository; _eNodebRepository = eNodebRepository; _cellRepository = cellRepository; }
public CollegeStat(ICollegeRepository repository, CollegeInfo info, IInfrastructureRepository infrastructureRepository) { CollegeRegion region = repository.GetRegion(info.Id); Name = info.Name; ExpectedSubscribers = info.ExpectedSubscribers; Area = region.Area; Id = region.AreaId; UpdateStats(infrastructureRepository); }
public StudentsController(IStudentRepository studentRepository, ICollegeRepository collegeRepository, IMapper mapper, IClassRepository classRepository) { _collegeRepository = collegeRepository; _studentRepository = studentRepository; _classRepository = classRepository; _mapper = mapper; }
public CollegeStat(ICollegeRepository repository, CollegeInfo info, CollegeYearInfo yearInfo, IInfrastructureRepository infrastructureRepository) { CollegeRegion region = repository.GetRegion(info.Id); Name = info.Name; ExpectedSubscribers = yearInfo?.ExpectedSubscribers ?? 0; Area = region?.Area??0; Id = info.Id; UpdateStats(infrastructureRepository); }
public CollegeService( ICollegeRepository CollegeRepository, NotificationHandler notifications, IMapper mapper, ITypeGenericRepository typeGenericRepository) : base(CollegeRepository) { _CollegeRepository = CollegeRepository; _notifications = notifications; _typeGenericRepository = typeGenericRepository; _mapper = mapper; }
public UserController( IAppUserRepository userRepository, ICollegeRepository collegeRepository, IAsyncRepository <Role> roleRepository, IHttpClientFactory httpClientFactory) { _httpClient = httpClientFactory.CreateClient("identityClient"); _userRepository = userRepository; _collegeRepository = collegeRepository; _roleRepository = roleRepository; }
public CulturalExchangeService(ICulturalExchangeRepository culturalExchangeRepository, ICollegeRepository collegeRepository, ICollegeTimeRepository collegeTimeRepository, IAccomodationRepository accomodationRepository, IStudentRepository studentRepository, ICulturalExchangeFileUploadRepository culturalExchangeFileUploadRepository, IReceivePaymentCulturalExchangeRepository receivePaymentCulturalExchangeRepository) { _culturalExchangeRepository = culturalExchangeRepository; _collegeRepository = collegeRepository; _collegeTimeRepository = collegeTimeRepository; _accomodationRepository = accomodationRepository; _studentRepository = studentRepository; _culturalExchangeFileUploadRepository = culturalExchangeFileUploadRepository; _receivePaymentCulturalExchangeRepository = receivePaymentCulturalExchangeRepository; }
public CollegeStatService(ICollegeRepository repository, IInfrastructureRepository infrastructureRepository, ICollegeYearRepository yearRepository, IHotSpotENodebRepository eNodebRepository, IHotSpotCellRepository cellRepository, IHotSpotBtsRepository btsRepository, IHotSpotCdmaCellRepository cdmaCellRepository) { _repository = repository; _infrastructureRepository = infrastructureRepository; _yearRepository = yearRepository; _eNodebRepository = eNodebRepository; _cellRepository = cellRepository; _btsRepository = btsRepository; _cdmaCellRepository = cdmaCellRepository; }
public CollegeController(ICollegeRepository repository, ITownRepository townRepository, IInfrastructureRepository infrastructureRepository, IIndoorDistributioinRepository indoorDistributioinRepository, IENodebRepository eNodebRepository, ICellRepository cellRepository, IBtsRepository btsRepository, ICdmaCellRepository cdmaCellRepository) { _repository = repository; _townRepository = townRepository; _infrastructureRepository = infrastructureRepository; _indoorDistributioinRepository = indoorDistributioinRepository; _eNodebRepository = eNodebRepository; _cellRepository = cellRepository; _btsRepository = btsRepository; _cdmaCellRepository = cdmaCellRepository; }
public StructureManageService(IUnitOfWork unitOfWork, IOrganizationStructureNameRepository organizationStructure, ICollegeRepository collegeRepository, IUniversityRepository universityRepository, IEducationalGroupRepository educationalGroupRepository, IFieldofStudyRepository fieldofStudyRepository, IPostPersonRepository postPersonRepository, IStudentRepository studentRepository, IUserPostRepository userPostRepository) { _unitOfWork = unitOfWork; _organizationStructureNameRepository = organizationStructure; _collegeRepository = collegeRepository; _educationalGroupRepository = educationalGroupRepository; _fieldofStudyRepository = fieldofStudyRepository; _universityRepository = universityRepository; _postPersonRepository = postPersonRepository; _studentRepository = studentRepository; _userPostRepository = userPostRepository; }
public BranchController() { this._collegeRepository = new CollegeRepository(new ApplicationDbContext()); this._branchRepository = new BranchRepository(new ApplicationDbContext()); }
public CollegeStat(ICollegeRepository repository, int id) { CollegeInfo info = repository.Get(id); CollegeRegion region = repository.GetRegion(id); Name = info.Name; ExpectedSubscribers = info.ExpectedSubscribers; Area = region.Area; Id = region.AreaId; }
public CollegeController(ICollegeRepository repo, IConfiguration config, DataContext context) { _repo = repo; _config = config; _context = context; }
public College3GTestService(ICollege3GTestRepository repository, ICollegeRepository collegeRepository) { _repository = repository; _collegeRepository = collegeRepository; }
public CollegeStatService(ICollegeRepository repository, IInfrastructureRepository infrastructureRepository) { _repository = repository; _infrastructureRepository = infrastructureRepository; }
public CollegeKpiController(ICollegeKpiRepository repository, ICollegeRepository collegeRepository) { _repository = repository; _collegeRepository = collegeRepository; }
public TuitionController(ITuitionCalculator tuitionCalculator, ICollegeRepository collegeRepo) { _tuitionCalculator = tuitionCalculator; _collegeRepo = collegeRepo; }
public CollegeKpiService(ICollegeKpiRepository repository, ICollegeRepository collegeRepository) { _repository = repository; _collegeRepository = collegeRepository; }
public DrawCollegeRegionController(ICollegeRepository repository) { _repository = repository; }
public QueryCollegeRegionController(ICollegeRepository repository) { _repository = repository; }
public CollegeDtoController(ICollegeRepository repository, ITownRepository townRepository) { _repository = repository; _townRepository = townRepository; }
public CollegeStatController(ICollegeRepository repository, IInfrastructureRepository infrastructureRepository) { _repository = repository; _infrastructureRepository = infrastructureRepository; }
public CollegesController(ICollegeRepository repository, IEmailService emailService) { _repository = repository; _emailService = emailService; _handler = new CollegeHandler(_repository, emailService); }
public CollegeTimeService(ICollegeTimeRepository collegeTimeRepository, ICollegeRepository collegeRepository) { _collegeTimeRepository = collegeTimeRepository; _collegeRepository = collegeRepository; }
public CollegeService(ICollegeRepository collegeRepository) { CollegeRepository = collegeRepository; }
public HomeController(ICollegeRepository repo) { _repository = repo; }
public CollegeController() { this._collegeRepository = new CollegeRepository(new ApplicationDbContext()); this._universityRepository = new UniversityRepository(new ApplicationDbContext()); }
public CollegeService(ICollegeRepository ICollegeRepository) { this._ICollegeRepository = ICollegeRepository; }
public void CollegeInitialize() { _collegeRepository = new CollegeRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>()); _organizationRepository = new OrganizationRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>()); _collegeBL = new CollegeImpl(_collegeRepository, _organizationRepository); }
public CollegeQueryController(ICollegeRepository repository) { _repository = repository; }
public CollegeService(ICollegeCache collegeCache, ICollegeRepository collegeRepository) { this._collegeCache = collegeCache; this._collegeRepository = collegeRepository; }
public College3GTestController(ICollege3GTestRepository repository, ICollegeRepository collegeRepository) { _repository = repository; _collegeRepository = collegeRepository; }
public CollegeRangeController(ICollegeRepository repository) { _repository = repository; }