public ActionResult GetFolderChildren([FromHeader] string xAuthToken, string customerId, string libraryName, string folderId) { var requestData = new GetFolderChildrenRequestData() { CustomerId = customerId, LibraryName = libraryName, FolderId = folderId }; try { var result = _foldersService.GetFolderChildren(xAuthToken, requestData); if (result == null) { return(NoContent()); } return(Ok(result)); } catch (Exception exc) { return(StatusCode(StatusCodes.Status500InternalServerError)); } }