常用方法
常用方法
常用方法
常用方法
public IActionResult Delete(int Id) { var delete = _checkoutRepository.Delete(Id); if (delete > 0) { return(Ok(delete)); } return(BadRequest("Can't be deleted")); }
public IActionResult Delete(int Id) { var delete = _checkoutRepository.Delete(Id); if (delete > 0) { return(Ok(delete)); } return(BadRequest("Can't be deleted")); }