Dev2.Models.ServerExplorerVersionProxy.GetVersions C# (CSharp) Method

GetVersions() public method

public GetVersions ( System.Guid resourceId ) : IList
resourceId System.Guid
return IList
        public IList<IExplorerItem> GetVersions(Guid resourceId)
        {
            var workSpaceId = Guid.NewGuid();
            var controller = CommunicationControllerFactory.CreateController("GetVersions");
            controller.AddPayloadArgument("resourceId", resourceId.ToString());
            return controller.ExecuteCommand<IList<IExplorerItem>>(Connection, workSpaceId);
        }