Exemplo n.º 1
0
        public ActionResult GetContactsById(int id)
        {
            var contactsController = new CustomerGridController();
            var contacts           = contactsController.Get(id);

            return(PartialView("EditContact", contacts));
        }
Exemplo n.º 2
0
        public ActionResult ContactsGrid()
        {
            var contactsController = new CustomerGridController();
            var contacts           = contactsController.Get();

            return(PartialView("ContactsGrid", contacts));
        }