/**
  * {@inheritdoc}
  */
 public function update(Announcement $announcement, array $data)
 {
     $announcement->fill(['body' => $data['body'], 'action_text' => array_get($data, 'action_text'), 'action_url' => array_get($data, 'action_url')])->save();
 }
 /**
  * Delete the announcement with the given ID.
  *
  * @param  string  $id
  * @return Response
  */
 public function destroy($id)
 {
     Announcement::findOrFail($id)->delete();
 }