public function showAction(Warehouse $warehouse)
    {
        $editForm = $this->createForm(WarehouseType::class, $warehouse, array(
            'action' => $this->generateUrl('admin_warehouse_update', array('id' => $warehouse->getid())),
            'method' => 'PUT',
        ));
        $deleteForm = $this->createDeleteForm($warehouse->getId(), 'admin_warehouse_update');

        return array(

            'warehouse' => $warehouse,
            'edit_form' => $editForm->createView(),
            'delete_form' => $deleteForm->createView(),

        );
    }