Example #1
0
        public UserService(
            UserManager <TUser> userManager,
            IMediatorHandler bus,
            ILoggerFactory loggerFactory,
            IConfiguration config,
            IIdentityFactory <TUser> userFactory,
            IJpEntityFrameworkStore store)
        {
            _userManager = userManager;
            _bus         = bus;
            _config      = config;
            _userFactory = userFactory;
            _store       = store;

            _logger = loggerFactory.CreateLogger <UserService <TUser, TRole, TKey> >();
        }
Example #2
0
 public Repository(IJpEntityFrameworkStore context)
 {
     Db    = context;
     DbSet = Db.Set <TEntity>();
 }
 public EmailRepository(IJpEntityFrameworkStore context) : base(context)
 {
 }
Example #4
0
 public UnitOfWork(IJpEntityFrameworkStore context, IEventStoreContext eventStoreContext)
 {
     _context           = context;
     _eventStoreContext = eventStoreContext;
 }
Example #5
0
 public GlobalConfigurationSettingsRepository(IJpEntityFrameworkStore context) : base(context)
 {
 }
 public TemplateRepository(IJpEntityFrameworkStore context) : base(context)
 {
 }