Ejemplo n.º 1
0
        public ActionResult SellerPanel()
        {
            IEnumerable <SellerPanelViewModel> product = sp.GetItems();

            if (product == null)
            {
                ModelState.AddModelError("Error", "Products not found");
                return(View(product));
            }
            return(View(product));
        }