public UserGroupRepository(IScopeAccessor scopeAccessor, AppCaches appCaches, ILogger <UserGroupRepository> logger, ILoggerFactory loggerFactory, IShortStringHelper shortStringHelper) : base(scopeAccessor, appCaches, logger) { _shortStringHelper = shortStringHelper; _userGroupWithUsersRepository = new UserGroupWithUsersRepository(this, scopeAccessor, appCaches, loggerFactory.CreateLogger <UserGroupWithUsersRepository>()); _permissionRepository = new PermissionRepository <IContent>(scopeAccessor, appCaches, loggerFactory.CreateLogger <PermissionRepository <IContent> >()); }
public UserGroupRepository(IScopeUnitOfWork work, CacheHelper cacheHelper, ILogger logger, ISqlSyntaxProvider sqlSyntax) : base(work, cacheHelper, logger, sqlSyntax) { _cacheHelper = cacheHelper; _userGroupWithUsersRepository = new UserGroupWithUsersRepository(this, work, cacheHelper, logger, sqlSyntax); _permissionRepository = new PermissionRepository <IContent>(work, _cacheHelper, logger, sqlSyntax); }
public UserGroupRepository(IScopeAccessor scopeAccessor, AppCaches appCaches, ILogger logger) : base(scopeAccessor, appCaches, logger) { _userGroupWithUsersRepository = new UserGroupWithUsersRepository(this, scopeAccessor, appCaches, logger); _permissionRepository = new PermissionRepository <IContent>(scopeAccessor, appCaches, logger); }