public void Insert(CapaEntidad.Estructura.Planilla pDatos) { CapaDatos.Planilla vDatos = new CapaDatos.Planilla(); try { vDatos.Insert(pDatos); } catch (Exception ex) { throw new Exception(ex.Message, ex); } }
public DataTable LeerExcel(string filename, string sheetName) { DataTable dtResultado = new DataTable(); CapaDatos.Planilla vDatos = new CapaDatos.Planilla(); try { dtResultado = vDatos.LeerExcel(filename, sheetName); } catch (Exception ex) { throw new Exception(ex.Message, ex); } return(dtResultado); }
public DataTable LeerPlanilla(int pIdCredito) { DataTable dtResultado = new DataTable(); CapaDatos.Planilla vDatos = new CapaDatos.Planilla(); try { dtResultado = vDatos.LeerPlanilla(pIdCredito); } catch (Exception ex) { throw new Exception(ex.Message, ex); } return(dtResultado); }