public async Task <IHttpActionResult> RemoveType(int id) { if (id < 1) { return(BadRequest()); } try { await _kudosService.RemoveKudosType(id, GetUserAndOrganization()); return(Ok()); } catch (ValidationException e) { return(BadRequestWithError(e)); } }