public async Task <IActionResult> Create([FromBody] Bike bike) { var addedBike = await _bikeService.CreateBikeAsync(bike); return(Ok(addedBike)); }
public async Task <IActionResult> Create([FromBody] Bike bike) { var addedBike = await _bikeService.CreateBikeAsync(bike); return(Ok(addedBike)); }