public async Task <IActionResult> GetFolderById([FromQuery] int id) { try { FolderViewModel folder = await _foldersService.GetFolderById(id); return(Ok(folder)); } catch (Exception ex) { return(BadRequest(ex)); } }
public async Task <IActionResult> GetFolderById([FromQuery] int id) { try { FolderViewModel folder = await _foldersService.GetFolderById(id); return(Ok(folder)); } catch (Exception ex) { return(BadRequest(ex)); } }