public GenericRepository(DoctorAppointmentSystemContext _Context) { this._context = _Context; table = _context.Set <T>(); }
public GenericRepository() { this._context = new DoctorAppointmentSystemContext(); table = _context.Set <T>(); }