public async Task <IActionResult> GetDeckList() { try { var list = await _deckService.Get(GetUserName()); return(Ok(list)); } catch (Exception e) { return(BadRequest(e)); } }
public ActionResult Index() { var vmDeck = _deckService.Get(); return(View(vmDeck)); }