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