public async Task <IActionResult> GetFoldersTree() { try { List <FolderViewModel> folders = await _foldersService.GetFoldersTree(); return(Ok(folders)); } catch (Exception ex) { return(BadRequest(ex)); } }