19 lines
657 B
C#
19 lines
657 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using webapi.Domain.Model;
|
|
using webapi.Infrastructure.Repositories;
|
|
|
|
namespace webapi.Infractructure.Core
|
|
{
|
|
public interface IUserAuthRepository: IBaseRepository<UserAuth>
|
|
{
|
|
Task<UserAuth> RetrieveEntityUsingPointQueryAsync(string partitionKey, string rowKey);
|
|
Task<UserAuth> InsertOrMergeEntityAsync(UserAuth entity);
|
|
//Task DeleteEntityAsync(UserAuth deleteEntity);
|
|
UserAuth GetUserByTaloyhtioUserId(Guid taloyhtioUserId);
|
|
UserAuth GetUserByPIN(string pin);
|
|
UserAuth GetByUserId(Guid userId);
|
|
UserAuth GetUserByEmail(string username);
|
|
}
|
|
}
|