public string MNT_CondicionesSupuestos(BECEE objBE) { string resultado = ""; try { resultado = new BLCEE().fInsertaCondSupuestosBL(objBE); } catch (Exception ex) { var st = new StackTrace(ex, true); var frame = st.GetFrame(0); var line = frame.GetFileLineNumber(); throw new HttpResponseException(Request.CreateErrorResponse(HttpStatusCode.NotFound, ex.Message + "; line:" + frame.ToString())); } return(resultado); }
public List <BECEE> LIST_CondicionesSupuestos(int pnProId, int pnOpcion, string DBConexion) { List <BECEE> objLista; BECEE objBE = new BECEE(); try { objBE.pnProId = pnProId; objBE.pnOpcion = pnOpcion; objBE.DBConexion = DBConexion; objLista = new List <BECEE>(); objLista = new BLCEE().fCargaCondSupuestosBL(objBE); } catch (Exception ex) { var st = new StackTrace(ex, true); var frame = st.GetFrame(0); var line = frame.GetFileLineNumber(); throw new HttpResponseException(Request.CreateErrorResponse(HttpStatusCode.NotFound, ex.Message + "; line:" + frame.ToString())); } return(objLista); }
public BECEE VAL_CEE(int pnProActId, int pnProId, string pcOpcion, string DBConexion) { BECEE objResultado = new BECEE(); BECEE objBE = new BECEE(); try { objBE.pnProActId = pnProActId; objBE.pnProId = pnProId; objBE.pcOpcion = pcOpcion; objBE.DBConexion = DBConexion; objResultado = new BLCEE().fValidarCEEBL(objBE); } catch (Exception ex) { var st = new StackTrace(ex, true); var frame = st.GetFrame(0); var line = frame.GetFileLineNumber(); throw new HttpResponseException(Request.CreateErrorResponse(HttpStatusCode.NotFound, ex.Message + "; line:" + frame.ToString())); } return(objResultado); }