Example #1
0
 public HttpResponseMessage ConfirmarAtendimento(int idagenda)
 {
     try
     {
         _serviceAgenda.ConfirmarAtendimento(idagenda, base.GetUsuarioLogado().IdUsuario);
         return(Request.CreateResponse(HttpStatusCode.OK));
     }
     catch (Exception ex)
     {
         return(Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex.Message));
     }
 }