public async Task <CharacterModuleResponse <IPagedList <CharacterReadModel> > > Handle(GetPagedCharactersCommand request, CancellationToken cancellationToken) { var characters = await _repository.GetPaged(request.Page, request.Size); return(CharacterModuleResponse <IPagedList <CharacterReadModel> > .Success(characters.Select(x => CharacterReadModel.From(x)))); }