Exemplo n.º 1
0
        //----Metodo que permite Actualizar segmentos Ing. Mauricio Ortiz

        public ESegments Actualizar_Segments(int iid_Segment, int iid_SegmentsType, bool bSegment_Status,
                                             string sSegment_ModiBy, DateTime tSegment_DateModiBy)
        {
            DSegments odaSegments = new DSegments();
            ESegments oeaSegments = odaSegments.Actualizar_Segments(iid_Segment, iid_SegmentsType, bSegment_Status,
                                                                    sSegment_ModiBy, tSegment_DateModiBy);

            odaSegments = null;
            return(oeaSegments);
        }
Exemplo n.º 2
0
        //---Metodo de Consulta de segmento Ing. Mauricio Ortiz

        public DataTable BuscarSegments(int iid_SegmentsType)
        {
            DSegments odseSegments = new DSegments();
            ESegments oeSegments   = new ESegments();

            DataTable dtSegments = odseSegments.ObtenerSegments(iid_SegmentsType);

            odseSegments = null;
            return(dtSegments);
        }
Exemplo n.º 3
0
        //---Metodo de Consulta de segmento para actualizar Ing. Mauricio Ortiz

        public DataTable BuscarSegmentsActual(string sSegment_Name, int iid_SegmentsType)
        {
            DSegments odseSegments = new DSegments();
            ESegments oeSegments   = new ESegments();

            DataTable dtSegments = odseSegments.ObtenerSegmentsActual(sSegment_Name, iid_SegmentsType);

            odseSegments = null;
            return(dtSegments);
        }
Exemplo n.º 4
0
        //Método que permite registrar segmento  Ing. Mauricio Ortiz
        public ESegments RegistrarSegments(string sSegment_Name, int iid_SegmentsType, bool bSegment_Status,
                                           string sSegment_CreateBy, DateTime tSegment_DateBy, string sSegment_ModiBy, DateTime tSegment_DateModiBy)
        {
            DSegments odrSegments = new DSegments();
            ESegments oeSegments  = odrSegments.RegistrarSegments(sSegment_Name, iid_SegmentsType, bSegment_Status,
                                                                  sSegment_CreateBy, tSegment_DateBy, sSegment_ModiBy, tSegment_DateModiBy);

            odrSegments = null;
            return(oeSegments);
        }