public RoleController(IUnitOfWork unitOfWork, IBusinessContextProvider contextProvider, IStringLocalizer <ResultCode> resultLocalizer, IIdentityService identityService) : base(unitOfWork, contextProvider, resultLocalizer) { _identityService = identityService; }
public SettingController(IUnitOfWork unitOfWork, IBusinessContextProvider contextProvider, IStringLocalizer <ResultCode> resultLocalizer, ISettingService settingService) : base(unitOfWork, contextProvider, resultLocalizer) { _settingService = settingService; }
public ErrorController(IUnitOfWork unitOfWork, IBusinessContextProvider contextProvider, IStringLocalizer <ResultCode> resultLocalizer, IWebHostEnvironment env) : base(unitOfWork, contextProvider, resultLocalizer) { _env = env; }
public ReferenceDataController(IUnitOfWork unitOfWork, IBusinessContextProvider contextProvider, IStringLocalizer <ResultCode> resultLocalizer, IReferenceDataService referenceDataService) : base(unitOfWork, contextProvider, resultLocalizer) { _referenceDataService = referenceDataService; }
public DataContextFactory(DbContextOptions <DataContext> options, IOptionsSnapshot <QueryFilterOptions> queryFilters, IBusinessContextProvider businessContextProvider) : base(options) { _queryFilters = queryFilters; _businessContextProvider = businessContextProvider; }
public ReferenceDataService(DataContext dbContext, IStringLocalizer <ResultCode> resultLocalizer, IBusinessContextProvider contextProvider, IMemoryCache memoryCache) : base(dbContext, resultLocalizer, contextProvider) { _memoryCache = memoryCache; }
public PostCategoryController(IUnitOfWork unitOfWork, IBusinessContextProvider contextProvider, IStringLocalizer <ResultCode> resultLocalizer, IPostCategoryService postCategoryService) : base(unitOfWork, contextProvider, resultLocalizer) { _postCategoryService = postCategoryService; }
public BaseService(DataContext dbContext, IStringLocalizer<ResultCode> resultLocalizer, IBusinessContextProvider contextProvider) { this.dbContext = dbContext; this.resultLocalizer = resultLocalizer; this.contextProvider = contextProvider; }
public BaseApiController(IUnitOfWork unitOfWork, IBusinessContextProvider contextProvider, IStringLocalizer <ResultCode> resultLocalizer) { this.unitOfWork = unitOfWork; this.contextProvider = contextProvider; this.resultLocalizer = resultLocalizer; }
internal static void Configure(IBusinessContextProvider bizContextProvider) { if (_bizContextProvider != null) { throw new ArgumentNullException($"Already initialized {nameof(bizContextProvider)}"); } _bizContextProvider = bizContextProvider; }
public IdentityService(DataContext dbContext, IStringLocalizer <ResultCode> resultLocalizer, IBusinessContextProvider contextProvider, UserManager <AppUserEntity> userManager, SignInManager <AppUserEntity> signInManager) : base(dbContext, resultLocalizer, contextProvider) { _userManager = userManager; _signInManager = signInManager; }
public SettingService(DataContext dbContext, IStringLocalizer <ResultCode> resultLocalizer, IBusinessContextProvider contextProvider, IJsonConfigurationManager configurationManager, ISecretsManager secretsManager, IConfiguration configuration) : base(dbContext, resultLocalizer, contextProvider) { _configurationManager = configurationManager; _secretsManager = secretsManager; _configurationRoot = configuration as IConfigurationRoot; }
public DataContext(DbContextOptions options, IOptionsSnapshot <QueryFilterOptions> queryFilterOptions = null, IBusinessContextProvider businessContextProvider = null, AppEntitySchema entitySchema = null) : base(options, queryFilterOptions) { _businessContextProvider = businessContextProvider; if (_model != null) { entitySchema.InitSchema(_model.ParseSchema()); } }
public PostCategoryService(DataContext dbContext, IStringLocalizer <ResultCode> resultLocalizer, IBusinessContextProvider contextProvider) : base(dbContext, resultLocalizer, contextProvider) { }