Пример #1
0
 public DataTable GetAllCorredorDT()
 {
     try
     {
         CorredorDA corredorDA = new CorredorDA();
         var        res        = corredorDA.GetAllCorredorDT();
         corredorDA = null;
         return(res);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Пример #2
0
 public Corredor GetCorredorById(Int32 id)
 {
     try
     {
         CorredorDA corredorDA = new CorredorDA();
         var        res        = corredorDA.GetCorredorById(id);
         corredorDA = null;
         return(res);
     }
     catch (Exception)
     {
         throw;
     }
 }
Пример #3
0
 public IList GetAllCorredorByEstatus(Boolean estado)
 {
     try
     {
         CorredorDA corredorDA = new CorredorDA();
         var        res        = corredorDA.GetAllCorredorByEstatus(estado);
         corredorDA = null;
         return(res);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Пример #4
0
 public Corredor GetCorredorByFullName(String Nombre)
 {
     try
     {
         CorredorDA correDA = new CorredorDA();
         var        res     = correDA.GetCorredorByName(Nombre);
         correDA = null;
         return(res);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }