示例#1
0
        // View to list all Unplanned leaves when he click on Data in Table
        public ActionResult ViewApprovedLeavesByAdminByProjNameByTOL(string ProjName, string TOL)
        {
            AdminRole ViewApprovedLeavesByAdmin = new AdminRole();

            ViewApprovedLeavesByAdmin.ViewApprovedLeavesByAdminlist = ViewApprovedLeavesByAdmin.ViewApprovedLeavesByAdmin(ProjName, TOL);
            return(View(ViewApprovedLeavesByAdmin));
        }
示例#2
0
        public ActionResult ViewApprovedLeavesByAdmin()
        {
            AdminRole approvedLeavesByAdmin = new AdminRole();
            string    Branch  = Session["Branch"].ToString();
            string    Project = Session["Project"].ToString();
            string    SubArea = Session["SubArea"].ToString();

            approvedLeavesByAdmin.AppliedLeavesList = approvedLeavesByAdmin.ViewApprovedLeavesByAdmin(SubArea);
            return(View(approvedLeavesByAdmin));
        }