示例#1
0
 public void AddClient(Client client)
 {
     _db.Clients.Add(client);
     _db.SaveChanges();
 }
示例#2
0
 public void AddTherapist(Therapist therapist)
 {
     _db.Therapists.Add(therapist);
     _db.SaveChanges();
 }
 public void AddTherapy(Therapy therapy)
 {
     _db.Therapies.Add(therapy);
     _db.SaveChanges();
 }