public ActionResult <Delivery> getByIdAsync(int id)
        {
            try
            {
                var model = _manager.getById(id);
                if (model == null)
                {
                    return(NotFound());
                }

                return(model);
            }
            catch (Exception ex)
            {
                ex.Message.ToString();
                return(BadRequest());
            }
        }