public RetornaMensaje EliminarVivienda(string codVivienda)
 {
     ViviendaBE vivienda = new ViviendaBE();
     try
     {
         retornaMensaje = new RetornaMensaje();
         viviendaDAO = new ViviendaDAO();
         retornaMensaje.Exito = viviendaDAO.Eliminar(Convert.ToInt32(codVivienda));
         if(    retornaMensaje.Exito )
             retornaMensaje = new RetornaMensaje
         {
             Mensage = string.Format(resMensajes.msjEliminadoOK, "Vivienda"),
             CodigoError = "-1",
             Exito = false
         };
     }
     catch (Exception exception)
     {
         RetornaMensaje mensajeError = new RetornaMensaje
         {
             Mensage = string.Format(resMensajes.msjNoEliminado, "Vivienda"),
             CodigoError = exception.GetHashCode().ToString(),
             Exito = false
         };
         throw new WebFaultException<RetornaMensaje>(mensajeError, HttpStatusCode.InternalServerError);
     }
     return retornaMensaje;
 }