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())); } }
public void Acknowledge(int meetingId, [FromUri] string email) { _store.UpdateMeeting(meetingId, MeetingState.Acknowledged, email); }