public IEnumerable <T> Get(Expression <Func <T, bool> > predicate)
 {
     return(dbcontext.Set <T>().Where(predicate).ToList());
 }
 public CourseLearnerGenericRepo()
 {
     dbcontext = new CourseLearnerContext();
     dbset     = dbcontext.Set <T>();
 }