public static function tambah($cover, $judul, $penulis, $penerbit, $tahun, $jumlah) { Buku::create(compact('cover', 'judul', 'penulis', 'penerbit', 'tahun', 'jumlah')); }