Пример #1
0
        public Recording Modify(CurrentUser user)
        {
            var str = AssetsController.getRecordingSequenceString(Record.ID);

            Record.key   = user.Encode(str + DetailName);
            Record.value = user.Encode(str + Detail);
            Record.uid   = user.UID;
            return(Record);
        }
Пример #2
0
        public Recording Encode(CurrentUser user, int rid)
        {
            var str = AssetsController.getRecordingSequenceString(rid);

            Record       = new Recording();
            Record.key   = user.Encode(str + DetailName);
            Record.value = user.Encode(str + Detail);
            Record.uid   = user.UID;
            return(Record);
        }