Пример #1
0
        /// <summary>
        /// Get the specified request.
        /// </summary>
        /// <param name="request">Request.</param>
        public object Get(UserCurrentIsLoggedRequestTep request)
        {
            var context = TepWebContext.GetWebContext(PagePrivileges.UserView);

            try {
                context.Open();
                UserTep.UpdateUserSessionEndTime(context, context.UserId);
            } catch (Exception) {
                return(new WebResponseBool(false));
            }
            context.Close();
            return(new WebResponseBool(true));
        }