示例#1
0
        public virtual ActionResult Information()
        {
            MessageViewModel messageViewModel = new MessageViewModel();
            messageViewModel.Message = TempData["Message"] as string;

            if (TempData["ActionType"] == null)
                messageViewModel.ActionType = ActionType.Home;
            else
                messageViewModel.ActionType = (ActionType)TempData["ActionType"];

            return View("Information", messageViewModel);
        }
        public virtual ActionResult InformationBackOffice()
        {
            MessageViewModel messageViewModel = new MessageViewModel();
            messageViewModel.Message = TempData["Message"] as string;

            return View(messageViewModel);
        }