model controller pembelian