/**
  * Creates an event in the database.
  *
  * @return Response
  */
 public function create()
 {
     $request = $this->request;
     $event = new Event();
     $event->assign(['name' => $request->get('name', 'string'), 'desc' => $request->get('desc', 'string'), 'photo_cover' => $request->get('photo_cover', 'url'), 'start_date' => $request->get('start_date', 'timestamp'), 'end_date' => $request->get('end_date', 'timestamp'), 'flyer' => $request->get('flyer', 'url')]);
     return $this->response($request, $event, true);
 }