public async Task <CommandResult <bool> > Handle(UpdateExampleNameCommand command, CancellationToken cancellationToken)
        {
            var validation = _validator.Validate(command);

            if (!validation.IsValid)
            {
                _logger.Error("Update Example Name Command with id: {id} produced errors on validation {Errors}", command.Id, validation.ToString());
                return(new CommandResult <bool>(result: false, type: CommandResultTypeEnum.InvalidInput));
            }
            var rowsAffected = await _exampleRepository.UpdateExampleNameById(command.Id, command.Name);

            if (rowsAffected == 0)
            {
                return(new CommandResult <bool>(result: false, type: CommandResultTypeEnum.NotFound));
            }
            return(new CommandResult <bool>(result: true, type: CommandResultTypeEnum.Success));
        }