Example #1
0
        public int AppointmentPending(AppointmentModel appointmentModel)
        {
            int result = 0;

            try
            {
                //Change Appointment Status to pending
                PractitionerData dataLayer = new PractitionerData();
                AppointmentModel model     = new AppointmentModel();
                model = dataLayer.AppointmentPending(appointmentModel);

                if (!model.PatientId.Equals(Guid.Empty))
                {
                    result = 1;
                }
            }
            catch (Exception err)
            {
                new LogHelper().LogMessage("PractitionerBusiness.AppointmentPending : " + err);
            }

            return(result);
        }