using RadicadeServer.DB; namespace RadicadeServer.RecNet.Avatar; public static class LockerAccess { public static bool HasFullInventory(RecDBContext db, long? accountId) => accountId.HasValue && db.Profiles.FirstOrDefault(p => p.accountId == accountId.Value) ?.HasRole("unlockedlocker") == true; }