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>()); }
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>())); }