public AccommodationService() { uow = new UnitOfWork(); if (BusinessContext.IsParentInPreview <Accommodation>()) { _context = new BIG4MongoContext(BusinessContext.GetPreviewVersion(), true); } else { _context = new BIG4Context(); } }
public ParkDetailService(IBIG4Context context) { _context = context; }
public ParkDetailService() { uow = new UnitOfWork(); _context = new BIG4Context(); }
public CrudService(int version) { _context = new BIG4MongoContext(version); uow = new UnitOfWork(); }
public CrudService() { uow = new UnitOfWork(); _context = new BIG4Context(); // _context = new BIG4MongoContext(6); }