Example #1
0
        public Patient GetByChipId(int chipId)
        {
            var patient = patientMapper.GetByChipId(chipId);

            if (patient == null)
            {
                return(null);
            }

            Id = patient.Id;



            PasswordSalt = patient.PasswordSalt;
            PasswordHash = patient.PasswordHash;
            ChipId       = patient.ChipId;
            return(this);
        }