Esempio n. 1
0
        public ActionResult editLeaves(int id)
        {
            Session["id"] = id;
            ApplyLeave obj = new ApplyLeave();

            obj = ApplyLeave.getLeaveInfoForEditing(id);
            var list = obj.getTypeOfLeave();

            obj.TOL              = obj.GetSelectListItem(list);
            Session["MSID"]      = obj.MSID;
            Session["FirstName"] = obj.FirstName;
            Session["LastName"]  = obj.LastName;

            return(View(obj));
        }