Пример #1
0
 // ReSharper disable once MemberCanBePrivate.Global
 protected bool IsAdmin(out User user)
 {
     return(IsAuthenticated(out user) && user.IsAdmin());
 }