mirror of
https://github.com/markjprice/cs11dotnet7.git
synced 2025-12-06 05:32:03 +01:00
12 lines
355 B
C#
12 lines
355 B
C#
|
|
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);
|
|||
|
|
}
|