public TEntity Get(Guid id) { return(Context.Set <TEntity>().Find(id)); }
public Repository(SchoolModel context) { this.Context = context; this.DbSet = context.Set <TEntity>(); }
public TEntity Get(Guid id) { return(Context.Set <TEntity>().Find(id)); }
public Repository(SchoolModel context) { this.Context = context; this.DbSet = context.Set <TEntity>(); }