예제 #1
0
 public HistoryService(IUnitOfWork unitOfWork, IMapper mapper, AuditLog_Context loggerContext)
 {
     this.loggerContext = loggerContext;
     this.mapper        = mapper;
     this.unitOfWork    = unitOfWork;
     this.requestRepo   = this.unitOfWork.GetRepository <Request>();
     this.historyRepo   = this.unitOfWork.GetRepository <History>();
 }
예제 #2
0
 public AuditLogService(AuditLog_Context loggerContext)
 {
     _loggerContext = loggerContext;
 }