public DataTable GetAllCorredorDT() { try { CorredorDA corredorDA = new CorredorDA(); var res = corredorDA.GetAllCorredorDT(); corredorDA = null; return(res); } catch (Exception ex) { throw ex; } }
public Corredor GetCorredorById(Int32 id) { try { CorredorDA corredorDA = new CorredorDA(); var res = corredorDA.GetCorredorById(id); corredorDA = null; return(res); } catch (Exception) { throw; } }
public IList GetAllCorredorByEstatus(Boolean estado) { try { CorredorDA corredorDA = new CorredorDA(); var res = corredorDA.GetAllCorredorByEstatus(estado); corredorDA = null; return(res); } catch (Exception ex) { throw ex; } }
public Corredor GetCorredorByFullName(String Nombre) { try { CorredorDA correDA = new CorredorDA(); var res = correDA.GetCorredorByName(Nombre); correDA = null; return(res); } catch (Exception ex) { throw ex; } }