Exemplo n.º 1
0
        public Int32 Ingreso(Sesiones data)
        {
            Int32 Id_Session = 0;

            try
            {
                GestorBase BD = new GestorBase();
                Id_Session = BD.Ingresar(data);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(Id_Session);
        }
Exemplo n.º 2
0
        public Int32 Salir(Sesiones Data)
        {
            Int32      FilasAfectadas = 0;
            GestorBase BD;

            try
            {
                BD             = new GestorBase();
                FilasAfectadas = BD.Salir(Data);
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message, ex);
            }

            return(FilasAfectadas);
        }