Пример #1
0
 private void AddOrSkipSmokingStatus(Patient patient, PatientSmokingDrinkingStatus patientSmokingDrinkingStatus)
 {
     if (patientSmokingDrinkingStatus.SmokingStatusId == 0)
     {
         ModelState.Remove("SmokingStatusId");
     }
     else
     {
         _patientManager.AddPatientSmokingDrinkingStatus(patient, patientSmokingDrinkingStatus);
     }
 }