public function update($id)
{
// $this->acProject = $this->acProjectModel->find($id);
$this->acProject->fill(request()->except('_method', '_token'));
try {
$this->acProject->save();
return redirect()->route('ac_projects.show', $id);
} catch (Exception $e) {
return redirect()->route('ac_projects.edit', $id)->withErrors($this->acProject->errors())->with('message', 'There were validation errors.');
}
}