public cInventario BuscarPorID(String ID) { try { return(InventarioDA.BuscarPorID(ID)); } catch (Exception Ex) { throw Ex; } }
public cInventario BuscarPorID(Int64 ID) { //REALIZAMOS UNA BUSQUEDA DEL ARTICULO POR SU CODIGO try { return(InventarioDA.BuscarPorID(ID)); } catch (Exception Ex) { throw Ex; } }
private Boolean ValidacionTipoArticulo(Int64 InventarioID) { try { //Validamos el tipo de articulo a agregarse al combo, no se admiten combos. string TipoArticulo = InventarioDA.BuscarPorID(InventarioID).TipoArticulo; if (TipoArticulo != "C") { return(true); } else { return(false); } } catch (Exception Ex) { throw Ex; } }