Пример #1
0
        public ActionResult Show(Supplier supplier)
        {
            List <Supplier> aSupplier = _supplier.Show(index);

            return(View(aSupplier));
        }
Пример #2
0
        //private const int index = 1;


        //public ActionResult Show(Supplier supplier)
        //{
        //    List<Supplier> aSupplier = _supplier.Show(index);
        //    return View(aSupplier);

        //}

        public ActionResult Show()
        {
            var dataList = _supplier.Show();

            return(View(dataList));
        }