Exemplo n.º 1
0
 public ActionResult AllyApplyAudit(int id, int status)
 {
     try
     {
         ApiStatusCode code   = ApiStatusCode.OK;
         int           userId = GetAuthUserId();
         UserLogic.AllyApplyAudit(userId, id, status, ref code);
         return(Json(new ResultModel(ApiStatusCode.OK, code)));
     }
     catch (Exception ex)
     {
         LogHelper.Log(string.Format("AllyApplyAudit user:message:{0},StackTrace:{1}", ex.Message, ex.StackTrace), LogHelperTag.ERROR);
         return(Json(new ResultModel(ApiStatusCode.SERVICEERROR)));
     }
 }