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

            return(Ok(themes));
        }
Beispiel #2
0
        public IActionResult AdminList()
        {
            var model = _themeFacade.GetAllForAdmin();

            return(Ok(model));
        }