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

            WorkflowMaster.Delete(id);
            return(new JsonResult(true));
        }
 /// <summary>
 /// Shows how to Delete an existing record by Primary Key
 /// </summary>
 private void Delete()
 {
     // delete a record by primary key
     WorkflowMaster.Delete(4);
 }