Ejemplo n.º 1
0
        public async Task <IActionResult> GetFoldersTree()
        {
            try
            {
                List <FolderViewModel> folders = await _foldersService.GetFoldersTree();

                return(Ok(folders));
            }

            catch (Exception ex)
            {
                return(BadRequest(ex));
            }
        }