25 lines
786 B
C#
25 lines
786 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace Repository.BackendRepository.Interface
|
|||
|
{
|
|||
|
public interface IUserInfoRepository : BackendRepository.Interface.IBackendRepository
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 透過Account,取得當前登入使用者資訊(非同步)
|
|||
|
/// </summary>
|
|||
|
/// <typeparam name="A"></typeparam>
|
|||
|
/// <param name="account"></param>
|
|||
|
/// <returns></returns>
|
|||
|
Task<A> GetOneByAccountAsync<A>(string account);
|
|||
|
/// <summary>
|
|||
|
/// 透過Account,取得當前登入使用者資訊
|
|||
|
/// </summary>
|
|||
|
/// <param name="account"></param>
|
|||
|
/// <returns></returns>
|
|||
|
A GetMyUserInfoByAccount<A>(string account);
|
|||
|
}
|
|||
|
}
|