public static async Task <decimal> GetBankDepositsTotal(this ByfClient1 client, DateTime date) { var dynamics = await client.GetRawByfBankDeposits(date); var total = 0M; foreach (var byf in dynamics) { total += As.Decimal(byf.amount); } return(total); }
protected override Task <List <dynamic> > GetRawBYFsList(ByfClient1 client, DateTime date) => client.GetRawByfBankDeposits(date);