public static Products Map(Library.Products product) => new Products
 {
     ProductId          = product.ProductId,
     ProductName        = product.ProductName,
     ProductDescription = product.Description,
     ProductPrice       = product.Price
 };
        // GET: Products/Details/5
        public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            Library.Products product = Repo.SearchProductsById((int)id);

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

            ProductViewModel model = new ProductViewModel
            {
                Id       = product.ProdId,
                ProdName = product.Name,
                Price    = product.Price
            };

            return(View(model));
        }