Beispiel #1
0
        public async Task <IActionResult> GetDeckList()
        {
            try
            {
                var list = await _deckService.Get(GetUserName());

                return(Ok(list));
            }
            catch (Exception e)
            {
                return(BadRequest(e));
            }
        }
Beispiel #2
0
        public ActionResult Index()
        {
            var vmDeck = _deckService.Get();

            return(View(vmDeck));
        }