public ActionResult GetContactsById(int id) { var contactsController = new CustomerGridController(); var contacts = contactsController.Get(id); return(PartialView("EditContact", contacts)); }
public ActionResult ContactsGrid() { var contactsController = new CustomerGridController(); var contacts = contactsController.Get(); return(PartialView("ContactsGrid", contacts)); }