public static Link Create(ProductListModel orderList, string hostName)
        {
            //we don't need to use taskList to build the self link
            var self = new Link
            {
                Rel  = "self",
                HRef = string.Format("http://{0}/{1}", hostName, "products")
            };

            return(self);
        }
        public static Link Create(ProductListModel orderList, string hostName)
        {
            //we don't need to use taskList to build the self link
            var self = new Link
            {
                Rel = "self",
                HRef = string.Format("http://{0}/{1}", hostName, "products")
            };

            return self;
        }
 public dynamic RetrieveProducts()
 {
     var products = _productsDao.FindAll();
     var productListModel = new ProductListModel(products, _hostName);
     return productListModel;
 }