mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
@@ -2,12 +2,12 @@
|
||||
using SharpbinV3.Server.Data;
|
||||
using SharpbinV3.Server.Data.Entities;
|
||||
|
||||
|
||||
namespace SharpbinV3.Server.Services
|
||||
{
|
||||
public sealed class UserService(AppDbContext db)
|
||||
{
|
||||
private readonly AppDbContext _db = db;
|
||||
|
||||
public Task<User?> GetByUID(int uid, bool withPastes = false)
|
||||
{
|
||||
IQueryable<User> query = _db.Users;
|
||||
|
||||
Reference in New Issue
Block a user