public async Task <Response> Handle(Request request, CancellationToken cancellationToken) => new Response() { Card = CardApiModel.FromCard(await _context.Cards.FindAsync(request.CardId)) };
public async Task <Response> Handle(Request request, CancellationToken cancellationToken) => new Response() { Cards = await _context.Cards.Select(x => CardApiModel.FromCard(x)).ToListAsync() };