Пример #1
0
        private void LogInvoiceEdit(Invoice entity)
        {
            var creator = new LogCreatorApi(this, ActivityLogTypeEnum.ModifyInvoice);

            creator.AddInvoice(entity.Id);
            creator.SaveToLog(false);
        }
Пример #2
0
        private void LogChangeState(Invoice entity)
        {
            var creator = new LogCreatorApi(this, ActivityLogTypeEnum.ChangeStatePolicy);

            creator.AddInvoice(entity.Id);
            creator.SaveToLog(false);
        }
Пример #3
0
        private void LogDelete(Invoice entity)
        {
            var creator = new LogCreatorApi(this, ActivityLogTypeEnum.DeleteInvoice);

            creator.AddInvoice(entity.Id);
            creator.SaveToLog(false);
        }
Пример #4
0
        private void LogAdd(Invoice entity)
        {
            var creator = new LogCreatorApi(this, ActivityLogTypeEnum.AddInvoice);

            creator.AddInvoice(entity.Id);
            creator.SaveToLog();
        }