public GenericRepository(SecurityDbContext context) { Context = context; dbSet = Context.Set <TEntity>(); }