public IActionResult AddToBasket(OrderItemModel order) { try { locationService.AddToBasket(order); return(CreatedAtAction("AddToBasket", order)); } catch (Exception) { return(BadRequest()); } }