예제 #1
0
 public void AddAuthor(Guid Group_Id, string login)
 {
     if (Manager.IsAuthentication)
     {
         Manager.AddAdministrationInGroup(Group_Id, login);
         throw new HttpException(200, "OK");
     }
     else
     {
         throw new HttpException(401, "Вы не авторизованы");
     }
 }