public T GetById(long id) { return(Context.Set <T>().Find(id)); }
public BaseRepository(PracticaExamenContext context) { Context = context; _dbSet = context.Set <T>(); }
public T GetById(long id) { return(Context.Set <T>().Find(id)); }
public BaseRepository(PracticaExamenContext context) { Context = context; _dbSet = context.Set <T>(); }