public ControllerBase(IApplicationServiceBase <T1> app, ILoggerFactory logger, IHostingEnvironment env, ErrorMap err) { this._app = app; this._logger = logger.CreateLogger <Controller>(); this._env = env; this._err = err; }
public ControllerMoreBase(IRepositoryExtensions <TEntity, TFilter> rep, IApplicationServiceBase <TDto> app, ILoggerFactory logger, EnviromentInfo env, CurrentUser user, ICache cache, ExportExcel <dynamic> export, ErrorMap err) { this._rep = rep; this._app = app; this._logger = logger.CreateLogger <Controller>(); this._env = env; this._user = user; this._cache = cache; this._cacheHelper = new CacheHelper(this._cache); this._export = export; this._err = err; }