예제 #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="address">String: Full Address</param>
        /// <returns>DataTable: Results Set of Query</returns>
        public static DataTable FindPatient(string name, string address)
        {
            PatientModel patient = new PatientModel
            {
                FullName = name,
                Address  = address
            };

            return(patient.FindPatientByNameAndAddress());
        }