public Stream UpdateCityId(string idUserInfo, string cityId) { IUpdateUserInfoBusinessService businessService = (IUpdateUserInfoBusinessService)BusinessFactory.Create(Keywords.UpdateUserInfo); OperationResult result = businessService.UpdateCityId(Convert.ToInt64(idUserInfo), Convert.ToInt16(cityId)); return(result.ToJsonStream()); }
public Stream UpdateAddress(string idUserInfo, string address) { IUpdateUserInfoBusinessService businessService = (IUpdateUserInfoBusinessService)BusinessFactory.Create(Keywords.UpdateUserInfo); OperationResult result = businessService.UpdateAddress(Convert.ToInt64(idUserInfo), Convert.ToString(address)); return(result.ToJsonStream()); }