자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public IActionResult Delete(long id) { bool result = false; try { result = catBL.DeleteCategoryById(id); if (result == false) { return(NotFound()); } } catch (Exception e) { Console.WriteLine("Exception in getting Get category by id", e); } return(new NoContentResult()); }