예제 #1
0
 public UnitOfWork()
 {
     context = new FitnessContext();
 }
예제 #2
0
 public Repository(FitnessContext context)
 {
     this.context  = context;
     this.entities = context.Set <T>();
 }
예제 #3
0
 public UnitOfWork(FitnessContext context)
 {
     this.context = context;
 }