public ActionResult ViewContact(long id) { Contact contact = null; using (ContactServiceClient client = new ContactServiceClient()) { contact = client.GetContactById(id); } return ViewContact(contact); }
public ActionResult ViewContact(long id) { Contact contact = null; using (ContactServiceClient client = new ContactServiceClient()) { contact = client.GetContactById(id); } return(ViewContact(contact)); }