Esempio n. 1
0
 public void DeleteAlunoDoProjeto(string ra, int codigoProjetoADeletar)
 {
     try
     {
         projetos.deletaAlunoDoProjeto(ra, codigoProjetoADeletar);
     }
     catch (Exception e)
     {
         var msg = new HttpResponseMessage(HttpStatusCode.NotAcceptable)
         {
             ReasonPhrase = e.Message
         };
         throw new HttpResponseException(msg);
     }
 }