public function unassignAggregator(CommercialGroupModel $cg) { if (!$cg) { throw new AppEx\InvalidArgumentException('Params cannot be null'); } $cg->setAggregatorId(""); $cg->setAggregatorName(null); $result = $this->update($cg); return $result; }
public function unassignAggregator(CommercialGroupModel $cg) { if (!$cg) { throw new AppEx\InvalidArgumentException('Params cannot be null'); } $cg->setAggregatorId(""); $cg->setAggregatorName(null); $result = $this->update($cg); return $result; }