예제 #1
0
        public ActionResult <SnapshotContract> GetLatestPublishedSnapshot(long projectId)
        {
            m_authorizationManager.AuthorizeBook(projectId, PermissionFlag.ReadProject);

            var snapshot = m_snapshotManager.GetLatestPublishedSnapshot(projectId);

            return(Ok(snapshot));
        }