Beispiel #1
0
        public ActionResult _ProductCategoryPartial()
        {
            var model = new ProductCategoryADO().GetListProductCategory();

            return(PartialView(model));
        }
        public void DropDownListCategory(int?selectedId = null)
        {
            var model = new ProductCategoryADO();

            ViewBag.CategoryId = new SelectList(model.GetListProductCategory(), "prd_category_id", "prd_category_name", selectedId);
        }