/// <summary>
        /// Handler, deletes a record.
        /// </summary>
        public IActionResult OnGetRemove(int id)
        {
            WorkflowStepsMaster WorkflowStepsMaster = WorkflowStepsMaster.SelectByPrimaryKey(id);

            WorkflowStepsMaster.Delete(id);
            return(new JsonResult(true));
        }
コード例 #2
0
 /// <summary>
 /// Shows how to Delete an existing record by Primary Key
 /// </summary>
 private void Delete()
 {
     // delete a record by primary key
     WorkflowStepsMaster.Delete(12);
 }