public FamousBookRepository() { _context = new SampleMVCEntities(); dbEntity = _context.Set <Book>(); //to load model }
public AllRepository() { _context = new SampleMVCEntities(); dbEntity = _context.Set <T>(); //to load model }
public FamousBookRepository() { _context = new SampleMVCEntities(); dbEntity = _context.Set <Book>(); //to load model }
public AllRepository() { _context = new SampleMVCEntities(); dbEntity = _context.Set <T>(); //to load model }