Пример #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;
 }