Skip to content

Commit ad65620

Browse files
committed
Add admin QueryUsers
1 parent c4af67c commit ad65620

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

MyApp.ServiceModel/User.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,9 @@ public class User
1717
public string? DisplayName { get; set; }
1818
public string? ProfileUrl { get; set; }
1919
}
20+
21+
[ValidateIsAdmin]
22+
public class QueryUsers : QueryDb<User>
23+
{
24+
public string? Id { get; set; }
25+
}

0 commit comments

Comments
 (0)