/// <summary> /// /// </summary> public AppLogsController(ILoggerUnitOfWork uow, IAppLogService appLogItemService, IOptions <DbLoggerOptions> options) { _uow = uow; _appLogItemService = appLogItemService; _options = options.Value; pageSize = 0; recordsPerPage = 8; totalItemCount = 0; }
public ErrorLogService(ILogger <OrderService> logger, ILoggerUnitOfWork unitOfWork, IMapper mapper) { this._unitOfWork = unitOfWork; this._logger = logger; this._mapper = mapper; }
/// <summary> /// /// </summary> public AppLogService(ILoggerUnitOfWork uow) { _uow = uow; _appLogs = _uow.Set <AppLog>(); }