コード例 #1
0
ファイル: CorredorBL.cs プロジェクト: Darkk3n/Autodromo
 public DataTable GetAllCorredorDT()
 {
     try
     {
         CorredorDA corredorDA = new CorredorDA();
         var        res        = corredorDA.GetAllCorredorDT();
         corredorDA = null;
         return(res);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
コード例 #2
0
ファイル: CorredorBL.cs プロジェクト: Darkk3n/Autodromo
 public Corredor GetCorredorById(Int32 id)
 {
     try
     {
         CorredorDA corredorDA = new CorredorDA();
         var        res        = corredorDA.GetCorredorById(id);
         corredorDA = null;
         return(res);
     }
     catch (Exception)
     {
         throw;
     }
 }
コード例 #3
0
ファイル: CorredorBL.cs プロジェクト: Darkk3n/Autodromo
 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
ファイル: CorredorBL.cs プロジェクト: Darkk3n/Autodromo
 public Corredor GetCorredorByFullName(String Nombre)
 {
     try
     {
         CorredorDA correDA = new CorredorDA();
         var        res     = correDA.GetCorredorByName(Nombre);
         correDA = null;
         return(res);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }