public ActionResult FetchProjectDetailsAdmin(AdminRole adminrole) { AdminRole list1 = new AdminRole(); List <AdprojectDetails> list2 = new List <AdprojectDetails>(); list2 = list1.FetchProjectDetails(); ViewBag.list = list2; return(View()); }