public JsonResult Delete(int id)
 {
     return(this.Visit(Core.EnumUserRole.Admin, () =>
     {
         using (DbConn PubConn = DbConfig.CreateConn(Config.TaskConnectString))
         {
             PubConn.Open();
             tb_command_dal dal = new tb_command_dal();
             dal.Delete(PubConn, id);
             return Json(new { code = 1, msg = "Success" });
         }
     }));
 }