skantravels/services/AuthorizationService/Persistence/Repositories/IUserRepository.cs

15 lines
498 B
C#
Raw Normal View History

2024-08-15 14:21:17 +01:00
using AuthorizationService.Models;
2024-08-15 14:21:17 +01:00
namespace AuthorizationService.Persistence.Repositories
{
public interface IUserRepository
{
Task<string> CreateUserAsync(User user);
Task<bool> DeleteUserAsync(string id);
Task<List<User>> QueryAllUsersAsync();
Task<User> QueryUserByIdAsync(string id);
2024-08-14 09:28:12 +01:00
Task<User> QueryUserByEmailAsync(string email);
Task<bool> UpdateUserAsync(User user);
2024-08-16 11:53:39 +01:00
Task<bool> UpdateUserPasswordAsync(User user);
}
}