public IdentityDbInitilizer(FileStorageContext context, IServiceProvider provider) { _roleManager = provider.GetService <RoleManager <ApplicationRole> >(); _userManager = provider.GetService <UserManager <ApplicationUser> >(); _context = context; Init(); }
public GetCanvasBitmapForTemplatePageHandler(IOptions <PersistenceConfiguration> configuration, FileStorageContext context) { if (configuration == null) { throw new ArgumentNullException(nameof(configuration)); } if (context == null) { throw new ArgumentNullException(nameof(context)); } _configuration = configuration; _context = context; }
public SaveBitmapsForDocumentToProcessHandler(IOptions <PersistenceConfiguration> configuration, FileStorageContext context) { if (configuration == null) { throw new ArgumentNullException(nameof(configuration)); } if (context == null) { throw new ArgumentNullException(nameof(context)); } _configuration = configuration; _context = context; }
public FileInfoRepository(FileStorageContext dbContext, IUnitOfWork unitOfWork) : base(dbContext, unitOfWork) { }
public FileShareRepository(FileStorageContext context) : base(context) { _context = context; }
public UnitOfWork() { context = new FileStorageContext(); UserManager = new ApplicationUserManager(new UserStore <ApplicationUser>(context)); RoleManager = new ApplicationRoleManager(new RoleStore <ApplicationRole>(context)); }
public FileDBsController(FileStorageContext context) { _context = context; }
public EfUnitOfWork(FileStorageContext context) => this.context = context;
public FileStorageRepository(FileStorageContext context) { this._context = context; this._dataset = this._context.Set <T>(); }
public Repository(FileStorageContext _context) { context = _context; dbSet = _context.Set <T>(); }
public CompositeKeyRepository(FileStorageContext context) { _context = context; }
public UserRepository(FileStorageContext context) : base(context) { _context = context; }
public SingleKeyRepository(FileStorageContext context) { _context = context; }
public ProfileController(FileStorageContext context) { _context = context; }
public RefreshTokenRepository(FileStorageContext context) : base(context) { _context = context; }
public DataController(FileStorageContext context) { _context = context; }
public UnitOfWork(FileStorageContext context) { _context = context; }