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