public async Task <IActionResult> GetDecks() { var identity = User.GetIdentity(); var decks = await _deckService.GetAllDecks(identity); return(Ok(decks)); }
public IEnumerable <Deck> GetDecks() { return(service.GetAllDecks()); }