public SlotManager() { //context = TypesContainer.GetContext(); repo = TypesContainer.GetRepository <Slot>(); vehicleSlotRepo = TypesContainer.GetRepository <VehicleSlot>(); context = vehicleSlotRepo.Context = repo.Context; }
public EntityRepository(IParkingLotContext context) { if (context == null) { throw new NullReferenceException("ITransactionContext not set"); } _context = context as IParkingLotContext; }
public VehicleRepository(IParkingLotContext context) : base(context) { }
public UsersRepository(IParkingLotContext context) : base(context) { }
public UserManager() { context = TypesContainer.GetContext(); userRepo = TypesContainer.GetRepository <User>(); }
public SlotsRepository(IParkingLotContext context) : base(context) { }
public VehicleManager() { context = TypesContainer.GetContext(); repo = TypesContainer.GetRepository <Vehicle>(); }