Example #1
0
 ///     Obtiene un telefono de un banco
 /// </summary>
 /// <param name="telefono"></param>
 /// <returns></returns>
 public BancoInfo ObtenerPorTelefono(string telefono)
 {
     try
     {
         Logger.Info();
         var       bancoDAL = new BancoDAL();
         BancoInfo result   = bancoDAL.ObtenerPorTelefono(telefono);
         return(result);
     }
     catch (ExcepcionGenerica)
     {
         throw;
     }
     catch (Exception ex)
     {
         Logger.Error(ex);
         throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
     }
 }