public FunctionImpl(IRepository <Function> functionRepository, IDbContextGetter dbContext) { FunctionRepository = functionRepository; DbContext = dbContext.GetByName <IDbContext>("authorityEntity"); }
public AccountServiceImpl(IRepository <UserAccount> useraccountRepository, IDbContextGetter dbContext, ICacheManager cacheManager) { UserAccountRepository = useraccountRepository; DbContext = dbContext.GetByName <IDbContext>("accountEntity"); CacheManager = cacheManager; }