Example #1
0
        async Task <IEnumerable <Contracts.Api.AggregatedAmountsOrganization> > ManagerApi.IAggregatedAmountsManager.GetAggregatedAmountsAsync(ManagerApi.AggregatedAmountsFilters filters)
        {
            var results = await ApiAggregratedAmountsAccessor.GetAggregatedAmountsAsync(filters.Map <AccessorApi.AggregatedAmountsFilters>());

            return(results.Select(a => a.Map <Contracts.Api.AggregatedAmountsOrganization>()));
        }
        async Task <ManagerApi.AggregatedAmounts> ManagerApi.IAggregatedAmountsManager.GetAggregatedAmountsAsync(ManagerApi.AggregatedAmountsFilters filters, int startIndex, int recordCount)
        {
            var results = await ApiAggregratedAmountsAccessor.GetAggregatedAmountsAsync(filters.Map <AccessorApi.AggregatedAmountsFilters>(), startIndex, recordCount);

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