/// <summary> /// Gets the provider payments. /// </summary> /// <returns></returns> public async Task <List <ModelProviderPayment> > GetProviderPayments() { using (var db = new MancobaLocalDataApi(_connectionFactory, _platformCapabilities)) { var response = await db.GetProviderPayments(); return(response.ToModelCollection()); } }