コード例 #1
0
        public ActionResult Index(EnquiryViewModel enqViewModel)
        {
            if (TempData["enqViewModel"] != null)
            {
                enqViewModel = (EnquiryViewModel)TempData["enqViewModel"];
            }

            enqViewModel.Specialization = _enqRepo.GetSpecialization();

            enqViewModel.Users = _enqRepo.drpGetUsers();

            return(View("Index", enqViewModel));
        }