ibms-dome/Repository/BackendRepository/Interface/IUserInfoRepository.cs
2022-10-14 16:08:54 +08:00

25 lines
786 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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);
}
}