cs11dotnet7/vscode/PracticalApps/Northwind.BlazorServer/Data/INorthwindService.cs

12 lines
355 B
C#
Raw Normal View History

2022-03-13 17:17:01 +01:00
namespace Packt.Shared;
public interface INorthwindService
{
Task<List<Customer>> GetCustomersAsync();
Task<List<Customer>> GetCustomersAsync(string country);
Task<Customer?> GetCustomerAsync(string id);
Task<Customer> CreateCustomerAsync(Customer c);
Task<Customer> UpdateCustomerAsync(Customer c);
Task DeleteCustomerAsync(string id);
}