13 lines
353 B
C#
13 lines
353 B
C#
|
using API.Models;
|
|||
|
|
|||
|
namespace API.Persistence.Repositories
|
|||
|
{
|
|||
|
public interface IUserRepository
|
|||
|
{
|
|||
|
Task<string> CreateUserAsync(User user);
|
|||
|
Task<bool> DeleteUserAsync(string id);
|
|||
|
Task<List<User>> QueryAllUsersAsync();
|
|||
|
Task<User> QueryUserByIdAsync(string id);
|
|||
|
Task<bool> UpdateUserAsync(User user);
|
|||
|
}
|
|||
|
}
|