private void UpdateStats(IInfrastructureRepository repository) { TotalLteIndoors = repository.Count(x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.LteIndoor); TotalCdmaIndoors = repository.Count(x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.CdmaIndoor); }
private void UpdateStats(IInfrastructureRepository repository) { TotalLteENodebs = repository.Count(x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.ENodeb); TotalLteCells = repository.Count(x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.Cell); TotalCdmaBts = repository.Count(x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.CdmaBts); TotalCdmaCells = repository.Count(x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.CdmaCell); TotalLteIndoors = repository.Count(x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.LteIndoor); TotalCdmaIndoors = repository.Count(x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.CdmaIndoor); }