protected override async Task <Unit> HandleValidatedCommand(RemoveCodeCommand command) { await _repository.RemoveCode(command.Name); return(Unit.Value); }