Example #1
0
 public IHttpActionResult ApproveAppointment(int id)
 {
     try
     {
         _apmServices.ApproveAppointment(id);
         return(Ok("Confirm Success"));
     }
     catch (Exception ex)
     {
         ErrorSignal.FromCurrentContext().Raise(ex);
         return(BadRequest("Confirm Failed"));
     }
 }