public async Task <IActionResult> DeleteHop(int id) { var hop = await _hopService.DeleteAsync(id); if (hop == null) { return(NotFound()); } return(Ok(hop)); }