public HttpResponseMessage GetByClientId(long id) { var contactInfos = _contactInfoRepository.GetContactInfoByClientId(id); HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, contactInfos); return(response); }