public static Response <decimal> BuscarPrecio(string fechaViaje, string nivel, string hora, string idPrecio) { try { // Buscar 'Precio' var buscarPrecio = CreditoRepository.BuscarPrecio(fechaViaje, nivel, hora, idPrecio); return(new Response <decimal>(true, buscarPrecio, Message.MsgCorrectoBuscarPrecio, true)); } catch (Exception ex) { Log.Instance(typeof(CreditoLogic)).Error(System.Reflection.MethodBase.GetCurrentMethod().Name, ex); return(new Response <decimal>(false, 0, Message.MsgExcBuscarPrecio, false)); } }