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