public ActionResult Search(string SearchText)
        {
            WorkWithUsers WWU = new WorkWithUsers();

            if (SearchText != "")
            {
                IQueryable <Users> FiltredUsers = WWU.SearchInUsers(SearchText);
                Session["Users"] = FiltredUsers;
            }
            else
            {
                Session["Users"] = WWU.GetWorseUsers();
            }
            return(RedirectToAction("AdminPanel"));
        }
        //
        // GET: /Administrator/
        public ActionResult AdminPanel()
        {
            WorkWithUsers      WWU   = new WorkWithUsers();
            IQueryable <Users> Users = (IQueryable <Users>)Session["Users"];

            if (Users == null)
            {
                Users = WWU.GetWorseUsers();
                WWU.CheckUserRoles();
            }
            Session["Users"] = Users;
            if (User.Identity.Name != "")
            {
                if (WWU.GetUserRole(IdentityExtensions.GetUserId(User.Identity)) == "Admin")
                {
                    return(View(Users));
                }
            }
            return(RedirectToAction("AccessDenied", "AccessDenied"));
        }