/**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function destroy($id)
 {
     $project = Project::findOrFail($id);
     $project->delete();
     return redirect()->route('projects.index')->with('info', 'Project deleted successfully');
 }
 /**
  * Get the Project Name for use in sending email for Collaboration
  * @param  int $id
  * @return string
  */
 private function getProjectName($id)
 {
     return Project::where('id', $id)->first()->project_name;
 }