예제 #1
0
        public object Post([FromUri] Guid documentId, [FromUri] Guid clientId, [FromBody] DocumenChange change)
        {
            var documentSession = documentSessionsRepository.GetOrLoad(documentId);

            documentSession.Change(clientId, change);
            return(documentSession.GetState(clientId, change.Revision));
        }
예제 #2
0
 protected void CancelChanges(DocumenChange change)
 {
 }