Example #1
0
        public bool indlæsCPR(string cpr)
        {
            if (lokalDB_.findCPR(cpr))
            {
                return(true);
            }

            else
            {
                return(false);
            }
        }
 public byte indlæsCPR(string cpr)
 {
     if (lokalDB_.findCPR(cpr) == true)
     {
         dtoDatasæt_.Pd_ = new DTO_PatientData(cpr);
         if (lokalDB_.gemDatasæt(dtoDatasæt_))
         {
             return(0);
         }
         else
         {
             return(1);
         }
     }
     else
     {
         return(2);
     }
 }