Example #1
0
        public void RegistrarAccion(byte accion, byte objeto, int?idRegistro)
        {
            var userLogId = "1";

            if (Request.IsAuthenticated)
            {
                userLogId = User.Identity.GetUserId();
            }
            var ip           = Request.UserHostAddress;
            var resultSesion = _utilManager.AddRegistroSesion(userLogId, accion, objeto, idRegistro, ip);
        }