public ActionResult Add(AddContactViewHandler objContact) { var newContact = ContactTranslator.GetContactModel(objContact); _contactLogic.AddContact(newContact); return(RedirectToAction("Details", new { id = newContact.ID })); }
public ActionResult Add(AddContactViewHandler objContact) { var newContact = ContactTranslator.GetContactModel(objContact); _contactLogic.AddContact(newContact); return(RedirectToAction("Details", new { id = newContact.ID })); }