Exemple #1
0
        public ActionResult GetContactsById(int id)
        {
            var contactsController = new CustomerGridController();
            var contacts           = contactsController.Get(id);

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

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