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)); } }