public async Task <IActionResult> PutOrderItemChoice(Guid id, V1DTO.OrderItemChoice orderItemChoice)
        {
            if (id != orderItemChoice.Id)
            {
                return(BadRequest(new V1DTO.MessageDTO("Id and OrderItemChoice.Id do not match")));
            }

            await _bll.OrderItemChoices.UpdateAsync(_mapper.Map(orderItemChoice));

            await _bll.SaveChangesAsync();

            return(NoContent());
        }
        public async Task <ActionResult <V1DTO.OrderItemChoice> > PostOrderItemChoice(V1DTO.OrderItemChoice orderItemChoice)
        {
            var bllEntity = _mapper.Map(orderItemChoice);

            _bll.OrderItemChoices.Add(bllEntity);
            await _bll.SaveChangesAsync();

            orderItemChoice.Id = bllEntity.Id;

            return(CreatedAtAction("GetOrderItemChoice",
                                   new { id = orderItemChoice.Id, version = HttpContext.GetRequestedApiVersion()?.ToString() ?? "0" },
                                   orderItemChoice));
        }