public IHttpActionResult Get(int id)
        {
            var            delevery = repo.Get(id);
            DeleveryDetail b        = delevery;

            if (delevery != null)
            {
                b.Links.Add(new Links()
                {
                    HRef = "http://localhost:62832/api/deleverydetails", Method = "GET", Rel = "Get all the user list"
                });
                b.Links.Add(new Links()
                {
                    HRef = "http://localhost:62832/api/deleverydetails", Method = "POST", Rel = "Create a new user resource"
                });
                b.Links.Add(new Links()
                {
                    HRef = "http://localhost:62832/api/deleverydetails/" + b.DeleveryId, Method = "PUT", Rel = "Modify an existing user resource"
                });
                b.Links.Add(new Links()
                {
                    HRef = "http://localhost:62832/api/deleverydetails/" + b.DeleveryId, Method = "DELETE", Rel = "Delete an existing user resource"
                });

                return(Ok(b));
            }
            else
            {
                return(StatusCode(HttpStatusCode.NotFound));
            }
        }
        public IHttpActionResult Get(int id)
        {
            var delevery = repo.Get(id);

            if (delevery != null)
            {
                return(Ok(delevery));
            }
            else
            {
                return(StatusCode(HttpStatusCode.NotFound));
            }
        }