예제 #1
0
        public ActionResult ViewLeavesByAdmin()
        {
            ApplyLeave obj    = new ApplyLeave();
            string     Branch = Session["Branch"].ToString();
            // added by me for testing
            string Project = Session["Project"].ToString();
            string SubArea = Session["SubArea"].ToString();
            string MSID    = Session["MSID"].ToString();

            //  string MSIDsupervisor = obj.findSupervisorByMSID(MSID);
            obj.LeaveList = obj.getLeave(SubArea);
            //ApproveLeavesByAdmin(obj);
            return(View(obj));
        }