public IHttpActionResult AddEvent(int recordId, int eventId) { recordService.AddEvent(recordId, eventId); return(Ok()); }