IUserLoginRepository.cs 412 B

1234567891011121314151617
  1. using System.Threading.Tasks;
  2. using Datory;
  3. using GxPress.Entity;
  4. namespace GxPress.Repository.Interface
  5. {
  6. public interface IUserLoginRepository : IRepository
  7. {
  8. /// <summary>
  9. /// 添加
  10. /// </summary>
  11. /// <param name="model"></param>
  12. /// <returns></returns>
  13. Task<int> InsertAsync(UserLogin model);
  14. Task<UserLogin> GetUserAsync(int userId);
  15. }
  16. }