/// <summary> /// Gets the provider payment. /// </summary> /// <param name="id">The identifier.</param> /// <returns></returns> public async Task <ModelProviderPayment> GetProviderPayment(string id) { using (var db = new MancobaLocalDataApi(_connectionFactory, _platformCapabilities)) { var response = await db.GetProviderPayment(id); return(response.ToModel()); } }