Beispiel #1
0
        protected async Task <SubVariableDataQuery> GetSubVariableDataQuery()
        {
            var regionType = await _regionAgrigationTypeRepository.GetTypeAsync(RegionType);

            return(new SubVariableDataQuery
            {
                IsPaging = true,
                PageSize = PageSize,
                RegionAgrigationTypeId = regionType.Id
            });
        }
Beispiel #2
0
        protected async Task <SubVariableDataQuery> GetSubVariableDataQuery(int variableId)
        {
            var regionType = await _regionAgrigationTypeRepository.GetTypeAsync(RegionType);

            return(new SubVariableDataQuery
            {
                IsPaging = false,
                RegionAgrigationTypeId = regionType.Id,
                VariableId = variableId
            });
        }
Beispiel #3
0
        private async Task SetCurrentRegionAgrigationTypeId()
        {
            var regionAggregationTypeEntity = await _regionAgrigationTypeRepository.GetTypeAsync(_regionAggregationTypeName);

            CurrentRegionAggregationTypeId = regionAggregationTypeEntity.Id;
        }