public function transactions(TransactionRepository $transactions) { return view('admin.main')->with('transactions', $transactions->all()); }