@extends('master') @section('content') @if($message = session('error'))
{{ $message }}
@endif

Department List

@foreach($department as $emp) @endforeach
Name Action
{{ $emp->name }} Edit
@endsection @push('scripts') @endpush