Exemplo n.º 1
0
        async Task <IEnumerable <ManagerApi.SiteVariableAmountsOrganization> > ManagerApi.ISiteVariableAmountsManager.GetSiteVariableAmountsAsync(ManagerApi.SiteVariableAmountsFilters filters)
        {
            var results = await ApiSiteVariableAmountsAccessor.GetSiteVariableAmountsAsync(filters.Map <AccessorApi.SiteVariableAmountsFilters>());

            return(results.Select(a => a.Map <ManagerApi.SiteVariableAmountsOrganization>()));
        }
        async Task <ManagerApi.SiteVariableAmounts> ManagerApi.ISiteVariableAmountsManager.GetSiteVariableAmountsAsync(ManagerApi.SiteVariableAmountsFilters filters, int startIndex, int recordCount)
        {
            var results = await ApiSiteVariableAmountsAccessor.GetSiteVariableAmountsAsync(filters.Map <AccessorApi.SiteVariableAmountsFilters>(), startIndex, recordCount);

            return(results.Map <ManagerApi.SiteVariableAmounts>());
        }