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

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

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