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

            return(new SubVariableDataQuery
            {
                IsPaging = true,
                PageSize = PageSize,
                RegionAgrigationTypeId = regionType.Id
            });
        }
예제 #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
            });
        }
예제 #3
0
        private async Task SetCurrentRegionAgrigationTypeId()
        {
            var regionAggregationTypeEntity = await _regionAgrigationTypeRepository.GetTypeAsync(_regionAggregationTypeName);

            CurrentRegionAggregationTypeId = regionAggregationTypeEntity.Id;
        }