public IHttpActionResult GetPediatriciansExamination(int childCardId)
 {
     try
     {
         var resultDTO = childCardService.GetPediatriciansExamination(childCardId);
         var resultVM  = PediatriciansExaminationHelper.DTOToVM(resultDTO);
         return(Ok(resultVM));
     }
     catch (Exception exception)
     {
         return(InternalServerError(exception));
     }
 }
 public IHttpActionResult SavePediatriciansExamination(int childCardId,
                                                       [FromBody] PediatriciansExaminationVM examinationVM)
 {
     try
     {
         var examinationDTO = PediatriciansExaminationHelper.VMToDTO(examinationVM);
         var resultDTO      = childCardService.SavePediatriciansExamination(childCardId,
                                                                            examinationDTO);
         var resultVM = PediatriciansExaminationHelper.DTOToVM(resultDTO);
         return(Ok(resultVM));
     }
     catch (Exception exception)
     {
         return(InternalServerError(exception));
     }
 }