public function postEdit($id, $name)
 {
     $validator = new Validation();
     $validator->setRule('required', $name, null, 'Name');
     if (!$validator->validate()) {
         Session::setError($validator->getErrors());
         Redirect::back();
     }
     $this->city->edit($id, $name);
     Session::setMessage('The city is edited');
     Redirect::to('');
 }