public ActionResult RemoveQuestion(RemoveQuestionViewModel model)
 {
     if (User.Identity.IsAuthenticated && User.IsInRole("Admin"))
     {
         if (RatingManager.GetQuestionById(model.Id) != null)
         {
             RatingManager.RemoveQuestion(model.Id);
             //Видалення всіх відповідей
         }
         return(RedirectToAction("Questions", "Admin"));
     }
     return(RedirectToAction("Index", "Home"));
 }