public IHttpActionResult cancelAppointment(int id)
        {
            try
            {
                appointmentsServices.cancelAppointment(id);

                return(Ok());
            }
            catch (Exception e)
            {
                return(InternalServerError(e));
            }
        }