private void AddPhysicianSpecialty(string personId)
 {
     foreach (var selectedSpecialty in SelectedSpecialties)
     {
         //DateAcquired only serves as certification
         var newPhysicianSpecialty = new PhysicianSpecialty
         {
             SpecialtyId  = selectedSpecialty.SpecialtyId,
             PhysicianId  = personId,
             DateAcquired = DateTime.Now
         };
         _physicianSpecialtyService.AddPhysicianSpecialty(newPhysicianSpecialty);
     }
 }
 public void UpdatePhysicianSpecialty(PhysicianSpecialty physicianSpecialty)
 {
     _context.PhysicianSpecialties.Update(physicianSpecialty);
     _context.SaveChanges();
 }
 public void AddPhysicianSpecialty(PhysicianSpecialty physicianSpecialty)
 {
     _context.PhysicianSpecialties.Add(physicianSpecialty);
     _context.SaveChanges();
 }