public async Task CreateSquadAsync( CreateSquadCommand createSquadCommand, CancellationToken cancellationToken) { var squad = SquadFactory.Create(createSquadCommand.SquadOwnerId, createSquadCommand.Name); await _squadRepository.CreateAsync(squad, cancellationToken); await _squadRepository.SaveAsync(cancellationToken); }