Ejemplo n.º 1
0
 public AuditReportModel Build(BaseActivityContext context)
 {
     return new AuditReportModel
       {
     Activity = context.Activity,
     Type = UserActivityType.MatterSetup
       };
 }
 public AuditReportModel Build(BaseActivityContext context)
 {
     var cont = context as UpdateActivityContext;
       var model = new AuditReportModel { Activity = cont.Activity, Type = UserActivityType.DeleteDocument };
       model.Before.Add("State", ((DocumentEvent)cont.PreviousEvent).State);
       model.After.Add("State", ((DocumentEvent)cont.CurrentEvent).State);
       return model;
 }
Ejemplo n.º 3
0
 public AuditReportModel Build(BaseActivityContext context)
 {
     return new AuditReportModel {Activity = context.Activity, Type = UserActivityType.DeleteDocument};
 }