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