예제 #1
0
 public IActionResult ProductDetails(string id)
 {
     #region Get details Of a product  by id from API
     var productDetails = ProductQueries.GetProductDetails(id, "en");
     #endregion
     if (productDetails != null)
     {
         return(View(productDetails));
     }
     else
     {
         return(View("~/Views/Shared/404.cshtml"));
     }
 }