/** * action create * * @param \GK\Stdapp\Domain\Model\CustomerSubtype $newCustomerSubtype * @return void */ public function createAction(\GK\Stdapp\Domain\Model\CustomerSubtype $newCustomerSubtype) { $this->customerSubtypeRepository->add($newCustomerSubtype); $this->flashMessageContainer->add('Your new CustomerSubtype was created.'); $this->redirect('list'); }