Exemple #1
0
        /// <summary>
        /// Locate a patient
        /// - 3 OVERLOADS: int id | string name, string address | string name, DateTime dob
        /// </summary>
        /// <param name="name">String: Full Name</param>
        /// <param name="dob">DateTime: Date of Birth</param>
        /// <returns>DataTable: Results Set of Query</returns>
        public static DataTable FindPatient(string name, DateTime dob)
        {
            PatientModel patient = new PatientModel
            {
                FullName    = name,
                DateOfBirth = dob
            };

            return(patient.FindPatientByNameAndDateOfBirth());
        }