public static async Task <decimal> GetAmbulantColxnsTotal(this ByfClient1 client, DateTime date) { var dynamics = await client.GetRawByfAmbulantColxns(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.GetRawByfAmbulantColxns(date);