public async Task <IActionResult> GetDelivery(int id)
        {
            Delivery delivery = await deliveryRepository.FindByIdAsync(id);

            if (delivery == null)
            {
                return(NotFound());
            }

            return(new ObjectResult(delivery));
        }