public async Task <IEnumerable <PaymentInfo> > Handle(GetAllPaymentsCommand request, CancellationToken cancellationToken) { return(await _repository.Payments() .Include(x => x.Status) .Select(x => _mapper.Map <PaymentInfo>(x)) .ToListAsync(cancellationToken)); }