Пример #1
0
        // GET: Error
        public ActionResult Index(string errorMessage)
        {
            ErrorViewModel viewModel = new ErrorViewModel();

            viewModel.ErrorMessage = errorMessage;

            _SessionManager.ClearUserInfoModel();

            return(View(viewModel));
        }
Пример #2
0
 public ActionResult LogOff()
 {
     _SessionManager.ClearUserInfoModel();
     return(View());
 }