public static void InitDatabase(bool customFiles = false) { VIPServicesRudyContext context = new VIPServicesRudyContext(); IUnitOfWork uow = new UnitOfWork(context); if (customFiles) { InsertIntoDatabaseCustomFiles(uow); } else { InsertIntoDatabase(uow); } }
public LimousineRepository(VIPServicesRudyContext context) { this.context = context; }
public ClientRepository(VIPServicesRudyContext context) { this.context = context; }
public CategoryRepository(VIPServicesRudyContext context) { this.context = context; }
public ReservationRepository(VIPServicesRudyContext context) { this.context = context; }