public async Task <IActionResult> Delete(int id) { try { await _bikeService.DeleteBikeAsync(id); return(Ok()); } catch (NullReferenceException) { return(NotFound()); } }