Example #1
0
 public Repository(MvcTravelContext ctx)
 {
     context = ctx;
     dbset   = context.Set <T>();
 }
Example #2
0
 public ClassMvcTravelUnitOfWork(MvcTravelContext ctx) => context = ctx;