// GET: Customer
        public ActionResult Index()
        {
            var customers = CustomerDb.GetAll();

            return(View(customers));
        }
Esempio n. 2
0
 public IEnumerable <Customer> GetAll()
 {
     return(CustomerDb.GetAll());
 }