Ejemplo n.º 1
0
        public ActionResult Details(int id)
        {
            CustomerProfileViewModel Customer = new CustomerProfileViewModel(Customers.GetById(id), Appointments.GetByCustomerId(id), Orders.GetByCustomerId(id));

            return(View(Customer));
        }