예제 #1
0
        private void LogEdit(Client entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.ModifyClient);

            creator.AddClient(entity.Id);
            creator.SaveToLog(false);
        }
예제 #2
0
        private void LogDelete(Client entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.DeleteClient);

            creator.AddClient(entity.Id);
            creator.SaveToLog(false);
        }
예제 #3
0
        private void LogDelete(Form entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.DeleteForm);

            creator.AddForm(entity.Id);
            creator.SaveToLog(false);
        }
예제 #4
0
        private void LogAdd(Client entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.AddClient);

            creator.AddClient(entity.Id);
            creator.SaveToLog();
        }
예제 #5
0
        private void LogAdd(Form entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.AddForm);

            creator.AddForm(entity.Id);
            creator.SaveToLog();
        }
예제 #6
0
        private void LogEdit(Form entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.ModifyForm);

            creator.AddForm(entity.Id);
            creator.SaveToLog(false);
        }
예제 #7
0
        private void LogEdit(Policy entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.ModifyPolicy);

            creator.AddPolicy(entity.Id);
            creator.SaveToLog(false);
        }
예제 #8
0
        private void LogDelete(Policy entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.DeletePolicy);

            creator.AddPolicy(entity.Id);
            creator.SaveToLog(false);
        }
예제 #9
0
        private void LogAdd(Policy entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.AddPolicy);

            creator.AddPolicy(entity.Id);
            creator.SaveToLog();
        }
예제 #10
0
        private void LogDelete(Soa entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.DeleteSoa);

            creator.AddSoa(entity.Id);
            creator.SaveToLog(false);
        }
예제 #11
0
        private void LogInvoiceEdit(Invoice entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.ModifyInvoice);

            creator.AddInvoice(entity.Id);
            creator.SaveToLog(false);
        }
예제 #12
0
        private void LogEdit(Soa entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.ModifySoa);

            creator.AddSoa(entity.Id);
            creator.SaveToLog(false);
        }
예제 #13
0
        private void LogAdd(Soa entity)
        {
            var creator = new LogCreator(this, ActivityLogTypeEnum.AddSoa);

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