Beispiel #1
0
        public Data()
        {
            dbContext = new VoyagerYContext();

            busRepo     = new BusRepo(dbContext);
            busTypeRepo = new BusTypeRepo(dbContext);

            var List = busTypeRepo.GetAll(); /////DEBUG İÇİN
        }
Beispiel #2
0
 public BaseRepo(DbContext voyagerYContext)
 {
     db = (VoyagerYContext)voyagerYContext;
 }