public ActionResult Index() { try { var citycirclelist = context.Spgetcitycircleemail().Select(xx => new SelectListItem { Value = xx.ToString(), Text = xx.ToString() }).ToList(); var Biztypelist = context.Spgetbiztypeemail().Select(xx => new SelectListItem { Value = xx.ToString(), Text = xx.ToString() }).ToList(); var Titlelist = context.SPgettitle().Select(xx => new SelectListItem { Value = xx.ToString(), Text = xx.ToString() }).ToList(); ViewData["citycirclelist"] = citycirclelist; ViewData["Biztypelist"] = Biztypelist; ViewData["Titlelist"] = Titlelist; } catch (Exception ex) { cm.ErrorExceptionLogingByService(ex.ToString(), "ProspectFilterList" + ":" + new StackTrace().GetFrame(0).GetMethod().Name, "Index", "NA", "NA", "NA", "WEB"); } return(View()); }