public IHttpActionResult GetContact(int id) { var helper = new ContactsHelper(); var result = helper.GetContact(id); if (result == null) { return(NotFound()); } return(Ok(result)); }