2022-04-07 22:48:10 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using Yi.Framework.Model.Models;
|
2022-04-02 17:44:50 +08:00
|
|
|
|
using Yi.Framework.Repository;
|
2021-10-11 21:50:50 +08:00
|
|
|
|
|
|
|
|
|
|
namespace Yi.Framework.Interface
|
|
|
|
|
|
{
|
2022-04-03 23:21:53 +08:00
|
|
|
|
public partial interface IUserService
|
2022-04-07 22:48:10 +08:00
|
|
|
|
{
|
|
|
|
|
|
public Task<bool> Login(string userName, string password, Action<UserEntity> userAction = null);
|
|
|
|
|
|
public Task<bool> Register(UserEntity userEntity, Action<UserEntity> userAction = null);
|
2021-10-11 21:50:50 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|