示例#1
0
 public IHttpActionResult Acknowledge(int meetingId, [FromUri] string email)
 {
     try
     {
         _store.UpdateMeeting(meetingId, MeetingState.Acknowledged, email);
         return(Ok());
     }
     catch (System.Exception)
     {
         throw new HttpResponseException(Request.CreateErrorResponse(HttpStatusCode.NotModified, new HttpError()));
     }
 }
示例#2
0
 public void Acknowledge(int meetingId, [FromUri] string email)
 {
     _store.UpdateMeeting(meetingId, MeetingState.Acknowledged, email);
 }