Пример #1
0
        public ActionResult MobileDetails()
        {
            DataTable mobile = repository.GetDetails();

            ViewBag.Mobile     = mobile;
            ViewData["mobile"] = mobile;
            TempData["mobile"] = mobile;
            return(RedirectToAction("DisplayDetails"));
        }
Пример #2
0
        // GET: Mobile
        public ActionResult MobileDetails()
        {
            IEnumerable <Mobile> mobile = MobileRespository.GetDetails();

            ViewBag.Mobile     = mobile;
            ViewData["mobile"] = mobile;
            TempData["mobile"] = mobile;
            return(RedirectToAction("DisplayDetails"));
        }