/**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     DB::table('list_notaris')->truncate();
     ListNotaris::create(array('nama_notaris' => 'Velani Mutia W, SH', 'status' => '1', 'registered' => '2015-10-13', 'expired' => '2015-11-13'));
     ListNotaris::create(array('nama_notaris' => 'Sriyati Sartopo Putri, SH', 'status' => '1', 'registered' => '2015-10-13', 'expired' => '2015-11-13'));
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function destroy($id)
 {
     //
     $notaris = ListNotaris::find($id);
     if (is_null($notaris)) {
         return Response::json("Not Found", 404);
     }
     $success = $notaris->delete();
     if (!$success) {
         return Response::json("Error delete", 500);
     }
     return Response::json("success delete", 200);
 }