示例#1
0
        public ActionResult Add(AddContactViewHandler objContact)
        {
            var newContact = ContactTranslator.GetContactModel(objContact);

            _contactLogic.AddContact(newContact);
            return(RedirectToAction("Details", new { id = newContact.ID }));
        }