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