Exemple #1
0
        public static BloodDonor Create(string type, Guid patientId, DateTime applyDate)
        {
            var instance = new BloodDonor {
                BloodDonorId = Guid.NewGuid()
            };

            instance.Update(type, patientId, applyDate, false, false, null);
            return(instance);
        }
Exemple #2
0
        public static BloodDonor Create(string type, Guid patientId)
        {
            var instance = new BloodDonor {
                BloodDonorId = Guid.NewGuid()
            };

            instance.Update(type, patientId);
            return(instance);
        }