/**
  * Store a newly created resource in storage.
  *
  * @param  \Illuminate\Http\Request  $request
  * @return \Illuminate\Http\Response
  */
 public function store(Request $request)
 {
     $object = new Model();
     $params = $request->only('ru_title', 'en_title', 'ua_title', 'x', 'y');
     $filter = $object->validator($params);
     if ($filter->fails()) {
         $error = $filter->errors()->toArray();
         return view('admin.district.create', ['input' => $params, 'error' => $error]);
     }
     $object->fill($params);
     $object->save();
     return redirect('admin/district/' . $object->id);
 }