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