// GET api/contacts/5 /// <summary> /// usersn에 해당 하는 정보를 조회한다. /// </summary> /// <param name="id"></param> /// <returns></returns> public ReturnValue Get(int id) { if (id < 0) { throw new HttpResponseException(HttpStatusCode.NotFound); } ReturnValue returnValue = new ReturnValue(); try { returnValue.value = entity.ContactGetInfo(id).ToList <ContactGetInfo_Result>(); returnValue.code = 0; returnValue.msg = "succes"; } catch { throw new HttpResponseException(HttpStatusCode.InternalServerError); } return(returnValue); }