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