Beispiel #1
0
        public HttpResponseMessage CheckOut()
        {
            try
            {
                AccountProvider _Provider = new AccountProvider();
                var             result    = _Provider.CheckOut();
                return(Request.CreateResponse(HttpStatusCode.OK, result));
            }
            catch (Exception ex)
            {
                LogFactory _LogFactory = new LogFactory(this.GetType());
                _LogFactory.CreateLog(LogType.Error, "退出登录", "CheckOut", ex);

                return(Request.CreateResponse(HttpStatusCode.InternalServerError, ex.Message));
            }
        }