public IActionResult Create([FromBody] BikeAndOrder BikeAndOrder)
 {
     if (BikeAndOrder == null)
     {
         return(BadRequest("Invalid order"));
     }
     else
     {
         _context.postBikeAndOrder(BikeAndOrder);
         return(Ok("Data created"));
     }
 }
 public IActionResult Update(int id, [FromBody] BikeAndOrder BikeAndOrder)
 {
     _context.UpdateBikeAndOrder(id, BikeAndOrder);
     return(Ok("object updated"));
 }