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