public IActionResult Delete(int id) { if (_dataStore.DelCourse(id)) { return(NoContent()); } else { return(NotFound()); } }