20 lines
791 B
C#
20 lines
791 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using app.Model;
|
|
using app.Share.Common;
|
|
|
|
namespace app.Interface.Repositories
|
|
{
|
|
public interface IAuthUserRepository
|
|
{
|
|
Task<List<AuthUser>> GetAllAuthUsersAsync();
|
|
Task<(List<AuthUser>, int totalCount)> GetFilteredAuthUsersAsync(AuthUserSelectCriterion selectCriterion);
|
|
Task<AuthUser> GetAuthUserByEMailAsync(string email);
|
|
Task<AuthUser> FindAuthUserByEMailAsync(string email);
|
|
Task<AuthUser> FindAuthUserByEMailConfirmationIdAsync(string id);
|
|
Task<AuthUser> FindAuthUserByEMailForgotPasswordIdAsync(string id);
|
|
void AddAuthUser(AuthUser user);
|
|
Task DeleteAuthUserByEMailAsync(string email);
|
|
void DeleteAuthUser(AuthUser user);
|
|
}
|
|
} |