public GenericRepository(IParserDbContext dbContext) { Guard.WhenArgument(dbContext, nameof(IParserDbContext)).IsNull().Throw(); this.entities = dbContext.Set <T>(); }