Exemplo n.º 1
0
        public async Task <IActionResult> Get()
        {
            var themes = await Task.Run(() => _themeFacade.GetAllForAdmin());

            return(Ok(themes));
        }
Exemplo n.º 2
0
        public IActionResult AdminList()
        {
            var model = _themeFacade.GetAllForAdmin();

            return(Ok(model));
        }