public ActionResult ViewStructure(ViewStructure viewStructure) { //Now let's get the Approvers for the Selected branch IEnumerable <IEnumerable <AppraisalApproverModel> > branchStructure = LINQCalls.getOrgStructure(viewStructure.SelectedBranch); branchStructure = branchStructure.OrderByDescending(c => c.First().RoleID); viewStructure.AppraisalApproverModel = branchStructure; TempData["viewStructure"] = viewStructure; return(RedirectToAction("ViewStructure", "OrgStructure")); }