Пример #1
0
 public HttpResponseMessage AddMerchantContactInformation([FromBody]MPMerchantContactDetailModel obj)
 {
     using (MerchantProfileTier mt = new MerchantProfileTier())
     {
         try
         {
             return this.Request.CreateResponse(HttpStatusCode.OK, mt.AddMerchantContactInformation(obj));
         }
         catch (Exception ex)
         {
             return this.Request.CreateResponse(HttpStatusCode.BadRequest, ex.Message);
         }
     }
 }