public IHttpActionResult BookAppointment(BookAppointmentDTO BookAppointmentData)
        {
            AppointmentLogic appointmentLogic = new AppointmentLogic();
            var AffectedRow = appointmentLogic.BookAppointment(BookAppointmentData.Appointment, BookAppointmentData.CurrentUserID);

            if (AffectedRow == 0 && !ModelState.IsValid)
            {
                BadRequest();
            }
            return(Ok(AffectedRow));
        }