public HttpResponseMessage GetAffiliateCodeByAccount(HttpRequestMessage request, RequestDTO obj) { return(CreateHttpResponse(request, () => { HttpResponseMessage response = null; response = request.CreateResponse(HttpStatusCode.OK, _service.GetAffiliateCodeByAccount(obj)); return response; })); }