mirror of
https://github.com/markjprice/cs11dotnet7.git
synced 2026-04-21 06:03:57 +00:00
Initial commit
This commit is contained in:
parent
1d9d051759
commit
9656378279
557 changed files with 182300 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
using Packt.Shared; // Customer
|
||||
|
||||
namespace Northwind.WebApi.Repositories;
|
||||
|
||||
public interface ICustomerRepository
|
||||
{
|
||||
Task<Customer?> CreateAsync(Customer c);
|
||||
Task<IEnumerable<Customer>> RetrieveAllAsync();
|
||||
Task<Customer?> RetrieveAsync(string id);
|
||||
Task<Customer?> UpdateAsync(string id, Customer c);
|
||||
Task<bool?> DeleteAsync(string id);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue