public ActionResult Register() { CommonCode commonCode = new CommonCode(); List <Tuple <int, string> > lstSpecialization = _review.GetSpecialization(commonCode); List <SelectListItem> lstSpec = new List <SelectListItem>(); foreach (var specialization in lstSpecialization) { lstSpec.Add(new SelectListItem { Value = specialization.Item1.ToString(), Text = specialization.Item2 }); } ViewBag.Specialization = new SelectList(lstSpec, "Value", "Text"); TempData["ReviewerUserExists"] = ""; return(View()); }