mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-03 00:00:58 +08:00
14 lines
404 B
C#
14 lines
404 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using Yi.Framework.Model.Models;
|
|
using Yi.Framework.Repository;
|
|
|
|
namespace Yi.Framework.Interface
|
|
{
|
|
public partial interface IUserService
|
|
{
|
|
public Task<bool> Login(string userName, string password, Action<UserEntity> userAction = null);
|
|
public Task<bool> Register(UserEntity userEntity, Action<UserEntity> userAction = null);
|
|
}
|
|
}
|