// View to list all type of leaves when he click on Project Name public ActionResult ViewApprovedLeavesByAdminByProjName(string ProjName) { AdminRole ViewApprovedLeavesByAdminByProjName = new AdminRole(); ViewApprovedLeavesByAdminByProjName.ViewApprovedLeavesByAdminByProjNameList = ViewApprovedLeavesByAdminByProjName.ViewApprovedLeavesByAdminByProjName(ProjName); return(View(ViewApprovedLeavesByAdminByProjName)); }