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>(); }
public AuditLogService(AuditLog_Context loggerContext) { _loggerContext = loggerContext; }