private static List <BimProject> GetProjects() { if (_options == null) { return(null); } BimProjectsApi _projectsApi = new BimProjectsApi(GetToken, _options); List <BimProject> projects = new List <BimProject>(); _projectsApi.GetProjects(out projects); return(projects); }
private static List <BimProject> GetProjects(string sortProp = "updated_at", int limit = 100, int offset = 0) { if (_options == null) { return(null); } BimProjectsApi _projectsApi = new BimProjectsApi(GetToken, _options); List <BimProject> projects = new List <BimProject>(); _projectsApi.GetProjects(out projects, sortProp, limit, offset); return(projects); }