예제 #1
0
        // GET: Customer
        public ActionResult Index()
        {
            var          customerList  = _customService.GetAllCustomers();
            CustomerList _customerList = new CustomerList();

            _customerList.Customers = _customService.GetAllCustomers();
            return(View(_customerList));
        }