public ActionResult SellerPanel() { IEnumerable <SellerPanelViewModel> product = sp.GetItems(); if (product == null) { ModelState.AddModelError("Error", "Products not found"); return(View(product)); } return(View(product)); }
public ActionResult SellerPanel() { IEnumerable <SellerPanelViewModel> product = sp.GetItems(); if (product == null) { ModelState.AddModelError("Error", "Products not found"); return(View(product)); } return(View(product)); }