you can use all these interface in...
public interface IUserRepository : IRepository<User>
{
User FindByUserName(string userName);
User FindByEmail(string email);
User FindByResetToken(Guid resetToken);
void Update(User item);
User Get(Guid userId);
Task<User> GetAsync(int userId);
void Add(User user);
User FindByUserNameUserGuid(string userName, string userGuid);
User FindByUserEmailUserGuid(string userEmail, string userGuid);
}
No comments:
Post a Comment