application/controllers/Book.php
// method hapus data buku berdasarkan id
method hapus data buku berdasarkan id
method hapus data buku berdasarkan id
public function delete($id)
	{
		$this->book_model->delBook($id);
		redirect('dashboard/books');
	}
public function delete ( $ id ) { $ this -> book_model -> delBook ( $ id ) ; redirect ( 'dashboard/books' ) ; }
method hapus data buku berdasarkan id
method hapus data buku berdasarkan id
// arahkan ke method 'books' di kontroller 'dashboard'