/// <summary> /// 删除一条数据 /// </summary> public bool Delete(int id) { return(dal.Delete(id)); }
public IActionResult DeleteTable([FromQuery] string id) { _logger.LogInformation($"Started logging for Table Controller::method:DeleteTable"); _tableDal.Delete(int.Parse(id)); return(Ok("deleted updated")); }