Exemple #1
0
 public static Response <bool> ValidaExDni(string documento)
 {
     try
     {
         var res     = ReintegroRepository.ValidaExDni(documento);
         var mensaje = (res) ? Message.MsgValidaExDni : string.Empty;
         return(new Response <bool>(true, res, mensaje, false));
     }
     catch (Exception ex)
     {
         Log.Instance(typeof(BaseLogic)).Error(System.Reflection.MethodBase.GetCurrentMethod().Name, ex);
         return(new Response <bool>(false, false, Message.MsgExcValidaExDni, false));
     }
 }