17 lines
326 B
C#
17 lines
326 B
C#
using Customers.Api.Domain;
|
|
|
|
namespace Customers.Api.Services;
|
|
|
|
public interface ICustomerService
|
|
{
|
|
Task<bool> CreateAsync(Customer customer);
|
|
|
|
Task<Customer?> GetAsync(Guid id);
|
|
|
|
Task<IEnumerable<Customer>> GetAllAsync();
|
|
|
|
Task<bool> UpdateAsync(Customer customer);
|
|
|
|
Task<bool> DeleteAsync(Guid id);
|
|
}
|