public PatientSchedulesRepository(AppDBEntities db)
 {
     this.db = db;
 }
 public PatientSchedulesRepository()
 {
     this.db = new AppDBEntities();
 }