Ejemplo n.º 1
0
 /// <summary>
 /// Obtiene un lista de Operador
 /// </summary>
 /// <returns></returns>
 public IList <OperadorInfo> ObtenerTodos()
 {
     try
     {
         Logger.Info();
         var operadorDAL             = new OperadorDAL();
         IList <OperadorInfo> result = operadorDAL.ObtenerTodos();
         return(result);
     }
     catch (ExcepcionGenerica)
     {
         throw;
     }
     catch (Exception ex)
     {
         Logger.Error(ex);
         throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
     }
 }