Esempio n. 1
0
 public BaseRepository(IContextManager contextManager)
 {
     this.contextManager = contextManager;
     this.Context        = contextManager.GetContext();
     this.DbSet          = Context.Set <TEntity>();
 }
Esempio n. 2
0
 public UnitOfWork(IContextManager contextManager)
 {
     this.dbContext   = contextManager.GetContext();
     validationResult = new ValidationResult();
 }