Exemplo n.º 1
0
        protected override async Task OnInitializedAsync()
        {
            nfi = (NumberFormatInfo)CultureInfo.InvariantCulture.NumberFormat.Clone();
            nfi.NumberGroupSeparator = " ";
            var districtId = Convert.ToInt32(DistrictId);

            DistrictName = (await DistrictService.GetAsync(x => x.Id == districtId)).FirstOrDefault().Name;
            DistrictSummaryByProviderVMs = await DistrictService.GetDistrictSummaryByProvider(Period, districtId);
        }