public async Task <IActionResult> GetCardTypes() { var cardTypes = await _orderQueries .GetCardTypesAsync(); return(Ok(cardTypes)); }
public async Task <ActionResult <IEnumerable <CardType> > > GetCardTypesAsync() { var cardTypes = await _orderQueries.GetCardTypesAsync(); return(Ok(cardTypes)); }
public Task <IEnumerable <CardType> > GetCardTypesAsync() => _orderQueries.GetCardTypesAsync();