Example #1
0
        public HttpResponseMessage HelloWorld()
        {
            LogEntity logEntity = new LogEntity
            {
                CategoryId     = (int)CategoryType.Login,
                OperateTypeId  = ((int)OperationType.Login).ToString(),
                OperateType    = OperationType.Login.GetEnumDescription(),
                OperateAccount = "18284594619",
                OperateUserId  = "18284594619",
                Module         = ""
            };

            return(logEntity.ToHttpResponseMessage());
        }