public async Task <IEnumerable <GetAllAssetsResponseDto> > Handle(GetAssetsQuery command, CancellationToken cancellationToken) { var queryResult = await _assetsRepository.GetAssetsPerPage(); var response = _mapper.Map <IEnumerable <Assets>, IEnumerable <GetAllAssetsResponseDto> >(queryResult); return(response); }