Example #1
0
 public SlotManager()
 {
     //context = TypesContainer.GetContext();
     repo            = TypesContainer.GetRepository <Slot>();
     vehicleSlotRepo = TypesContainer.GetRepository <VehicleSlot>();
     context         = vehicleSlotRepo.Context = repo.Context;
 }
 public UserManager()
 {
     context  = TypesContainer.GetContext();
     userRepo = TypesContainer.GetRepository <User>();
 }
 public VehicleManager()
 {
     context = TypesContainer.GetContext();
     repo    = TypesContainer.GetRepository <Vehicle>();
 }