public HttpResponseMessage Post(ContactInfo contactInfo)
        {
            var contactInfos             = _contactInfoRepository.Save(contactInfo);
            HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, contactInfos);

            return(response);
        }
Пример #2
0
 public long Save(ContactInfo contactInfo)
 {
     return(_contactInfoRepository.Save(contactInfo));
 }