public ActionResult viewInfo() { string MSID = Session["MSID"].ToString(); ApplyLeave viewInfoObj = new ApplyLeave(); viewInfoObj.userInfoDetails = viewInfoObj.viewUserInfo(MSID); return(View(viewInfoObj)); }