示例#1
0
        public ActionResult ListItems()
        {
            var lst   = _supplierDa.GetItems(EnterprisesItem.ID);
            var model = new ModelSupplierItem();

            model.ListItem = lst;
            return(View(model));
        }
        public ActionResult Index()
        {
            var lst = _supplierDa.GetItems(EnterprisesItem.ID);

            return(View(lst));
        }