working customer post, get and delete
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
using System;
|
||||
using AB.Domain.Entities;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AB.Domain.Repositories
|
||||
namespace AB.Domain.Repositories;
|
||||
|
||||
public interface ICustomerRepository
|
||||
{
|
||||
public class ICustomerRepository
|
||||
{
|
||||
}
|
||||
public Task<IEnumerable<Customer>> GetAllAsync(CancellationToken cancellationToken);
|
||||
Task<Customer> GetByIdAsync(Guid customerId, CancellationToken cancellationToken);
|
||||
void Insert(Customer customer);
|
||||
void Remove(Customer customer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user