public HttpResponseMessage RetrieveMerchantDocuments(int merchantId, int DocumentTypeId) { MPMerchantDocumentsDetailModel response = new MPMerchantDocumentsDetailModel(); ; using (MerchantProfileTier mt = new MerchantProfileTier()) { response.Documents = mt.RetrieveMerchantDocuments(merchantId, DocumentTypeId); return this.Request.CreateResponse(HttpStatusCode.OK, response); } }