public IActionResult Delete(int id) { // DELETE: api/ApiWithActions/5 KeywordDE de = new KeywordDE(); bool sonuc = de.DeleteKeyword(id); if (sonuc) { return(Ok()); } else { return(NotFound()); } }