public async Task <IHttpActionResult> Delete(int id) { try { await _eventUtilitiesService.DeleteEventTypeAsync(id, GetUserAndOrganization()); return(Ok()); } catch (EventException e) { return(BadRequest(e.Message)); } catch (ValidationException e) { return(BadRequestWithError(e)); } }