예제 #1
0
 public SubscriptionRepository(NewsAppContext context)
 {
     _context = context;
     _set     = _context.Set <Subscription>();
 }
예제 #2
0
 public CityRepository(NewsAppContext context)
 {
     _context = context;
     _set     = _context.Set <City>();
 }