public async Task <Unit> Handle(CloseTeam request, CancellationToken cancellationToken) { // TODO: implement handling // delete team via graph api // put information about team deletion to db try { await _graphClient.CloseTeamAsync(request.TeamId); await _integrationRepository.InsertCloseTeamEventAsync(request.TeamId); } catch (Exception e) { throw e; } return(Unit.Value); }