public ActionResult Menuadmin()
        {
            var currentuser = UserReposibility.getcurrentUser(User);

            ViewBag.role = UserReposibility.getrolesuser(User);
            return(PartialView(currentuser));
        }
        public ActionResult Index(string nameimage)
        {
            UserReposibility.setImageuser(User, nameimage);
            var currentuser = UserReposibility.getcurrentUser(User);

            return(View(currentuser));
        }
        public ActionResult Backup()
        {
            backup_restorerepository.Backup(DateTime.Now);
            LogUser log  = new LogUser();
            var     user = UserReposibility.getcurrentUser(User);

            LogResposibility.Log(User, "Vừa backup vào lúc" + DateTime.Now);
            return(RedirectToAction("Index"));
        }
        public ActionResult Header()
        {
            var currentuser = UserReposibility.getcurrentUser(User);

            return(PartialView(currentuser));
        }
        public ActionResult Index()
        {
            var currentuser = UserReposibility.getcurrentUser(User);

            return(View(currentuser));
        }