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