public async Task <IActionResult> Index() { ViewBag.Title = "Welcome to the store"; return(View((await pcrepository.Product_CategoriesAsync(), await prepository.ProductsAsync()))); }
//Product_Category action methods public async Task <IActionResult> Product_Category() { ViewBag.Title = "Welcome admin"; ViewBag.DashboardCateg = "Product Category Table"; return(View(await pcrepository.Product_CategoriesAsync())); }