Example #1
0
        public ActionResult insertHistory(int jobID)
        {
            string msg = "";

            HM.History hm = new HM.History();
            if (Session["suserID"] == null || string.IsNullOrWhiteSpace(Session["suserID"].ToString()))
            {
                System.Diagnostics.Debug.Print("還沒登入");
            }
            else
            {
                msg = hm.insertHistory(Session["suserID"].ToString(), jobID);
            }
            return(Content(msg));
        }