/// <summary>
        ///
        /// </summary>
        public AppLogsController(ILoggerUnitOfWork uow, IAppLogService appLogItemService, IOptions <DbLoggerOptions> options)
        {
            _uow = uow;
            _appLogItemService = appLogItemService;
            _options           = options.Value;

            pageSize       = 0;
            recordsPerPage = 8;
            totalItemCount = 0;
        }
Ejemplo n.º 2
0
 public ErrorLogService(ILogger <OrderService> logger, ILoggerUnitOfWork unitOfWork, IMapper mapper)
 {
     this._unitOfWork = unitOfWork;
     this._logger     = logger;
     this._mapper     = mapper;
 }
Ejemplo n.º 3
0
 /// <summary>
 ///
 /// </summary>
 public AppLogService(ILoggerUnitOfWork uow)
 {
     _uow     = uow;
     _appLogs = _uow.Set <AppLog>();
 }