public async Task ExecuteAsync(AbolishTesterCommand command) { if (command == null) { throw new ArgumentNullException("command", "The command is null!"); } Tester tester = await _repository.GetByKeyAsync(command.Id); tester.Abolish(tester.Id); await _repository.SaveAsync(tester); }