/**
  * Store a newly created resource in storage.
  *
  * @param  \Illuminate\Http\Request  $request
  * @return \Illuminate\Http\Response
  */
 public function store(Requests\ProjectRequest $request)
 {
     //
     $data = $request->except('_token');
     $project_id = Project::create($data)->id;
     if ($request->hasFile('project_file')) {
         $date = Carbon::now()->timestamp;
         $filename = trim($request->get('req')) . "_" . $date . '.' . $request->file('project_file')->getClientOriginalExtension();
         $path = base_path() . '/public/up/INIT/';
         $request->file('project_file')->move($path, $filename);
         $projectfile = new ProjectFile();
         $projectfile->project_id = $project_id;
         $projectfile->project_file = $path . $filename;
         $projectfile->step_id = 1;
         $projectfile->save();
     }
     return back();
 }