Ejemplo n.º 1
0
        public async Task <IActionResult> SearchForFolders([FromQuery] string searchString)
        {
            try
            {
                List <FolderViewModel> folders = await _foldersService.SearchForFolders(searchString);

                return(Ok(folders));
            }

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