12 lines
270 B
C#
12 lines
270 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using Webshop.Domain.Entities;
|
|
|
|
namespace Webshop.Domain.Interfaces
|
|
{
|
|
public interface ICustomerRepository
|
|
{
|
|
Task<Customer?> GetByUserIdAsync(string userId);
|
|
Task UpdateAsync(Customer customer);
|
|
}
|
|
} |