Exemplo n.º 1
0
        public string SavePatientDetails(PatientModel model)
        {
            Int64 RecordID = 0;

            if (model.DOBStr != null)
            {
                model.DOB = new DateTime(Convert.ToInt32(model.DOBStr.Split('/')[2]),
                                         Convert.ToInt32(model.DOBStr.Split('/')[1]),
                                         Convert.ToInt32(model.DOBStr.Split('/')[0]));

                RecordID = model.SavePatientDetails();
            }
            if (RecordID > 0)
            {
            }
            return("");
        }