public async Task <IActionResult> Update([FromBody] Bike bike) { await _bikeService.UpdateBikeAsync(bike); return(Ok(bike)); }
public async Task <IActionResult> Update([FromBody] Bike bike) { await _bikeService.UpdateBikeAsync(bike); return(Ok(bike)); }