コード例 #1
0
        async Task <ManagerApi.WaterAllocations> ManagerApi.IWaterAllocationManager.GetSiteAllocationAmountsAsync(ManagerApi.SiteAllocationAmountsFilters filters, int startIndex, int recordCount)
        {
            var results = await ApiWaterAllocationAccessor.GetSiteAllocationAmountsAsync(filters.Map <AccessorApi.SiteAllocationAmountsFilters>(), startIndex, recordCount);

            return(results.Map <ManagerApi.WaterAllocations>());
        }
コード例 #2
0
        async Task <IEnumerable <ManagerApi.WaterAllocationOrganization> > ManagerApi.IWaterAllocationManager.GetSiteAllocationAmountsAsync(ManagerApi.SiteAllocationAmountsFilters filters)
        {
            var results = await ApiWaterAllocationAccessor.GetSiteAllocationAmountsAsync(filters.Map <AccessorApi.SiteAllocationAmountsFilters>());

            return(results.Select(a => a.Map <ManagerApi.WaterAllocationOrganization>()));
        }