Exemplo n.º 1
0
 public CMTSEntity GetCMTSPorId(int IdCMTS)
 {
     if (WebOperationContext.Current.IncomingRequest.Method == "OPTIONS")
     {
         return(null);
     }
     else
     {
         try
         {
             return(Administracion.GetCMTSPorId(IdCMTS));
         }
         catch (Exception ex)
         {
             throw new WebFaultException <string>(ex.Message, HttpStatusCode.ExpectationFailed);
         }
     }
 }