public HttpResponseMessage ChangeCommitteFlag(UserChangeCommitteeFlagDto info) { Result res = _business.ChangeCommitteFlag(info.Username, info.Value); if (res.Value == true) { return(Request.CreateResponse(HttpStatusCode.OK, res.Content)); } else { return(Request.CreateResponse(HttpStatusCode.PreconditionFailed, res.Content)); } }