mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
14 lines
447 B
C#
14 lines
447 B
C#
using SharpbinV3.Server.Data.Entities;
|
|
|
|
namespace SharpbinV3.Server.Services
|
|
{
|
|
public interface IUserService
|
|
{
|
|
Task<User?> GetByUID(int uid, bool withPastes = false);
|
|
Task<User?> GetByUsername(string username, bool withPastes = false);
|
|
Task<User?> GetByUUID(Guid uuid, bool withPastes = false);
|
|
Task<User?> GetByEmail(string email, bool withPastes = false);
|
|
Task<User> Update(User user);
|
|
}
|
|
}
|