src/Money/Module/Bank/Controller/Bank.php
public function index()
    {
        //~ Breadcrumb
        $this->breadcrumb->add((new BreadcrumbItem('List'))->setIcon('list')->setIsActive(true));
        $this->navMenu->getItem('List')->setIsActive(true);

        //~ Content
        $this->dataCollection->add('title', 'List of Bank');

        $mapper  = new BankMapper(Database::get('money'));

        $this->checkDelete();

        $banks   = $mapper->select();

        $this->dataCollection->add('banks', $banks);

        return $this->getResponse('List');
    }
public function index()
    {
        //~ Breadcrumb
        $this->breadcrumb->add((new BreadcrumbItem('List'))->setIcon('list')->setIsActive(true));
        $this->navMenu->getItem('List')->setIsActive(true);

        //~ Content
        $this->dataCollection->add('title', 'List of Bank');

        $mapper  = new BankMapper(Database::get('money'));

        $this->checkDelete();

        $banks   = $mapper->select();

        $this->dataCollection->add('banks', $banks);

        return $this->getResponse('List');
    }
Main controller action.

@return Template