/// <summary> /// 修改地址 /// </summary> /// <param name="merchantId"></param> /// <param name="postCode"></param> /// <param name="address1"></param> /// <param name="address2"></param> /// <returns></returns> public void UpdateAddress(Guid merchantId, string postCode, string address, string state, string city) { MerchantProfile model = new MerchantProfile(); model.Address1 = address; model.MerchantId = merchantId; model.Postcode = postCode; model.City = city; model.State = state; MerchantProfileAgent agent = new MerchantProfileAgent(); agent.ModifyAddress1(model); }
public void ModifyAddress1(MerchantProfile profile) { var agent = new MerchantProfileAgent(); agent.ModifyAddress1(profile); }