/**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     $faker = Faker\Factory::create();
     $names = new ArrayIterator(array('names' => 'New Connection (Temporary & Permanent) Services', 'Meter & Meterboard Services', 'Distribution Box Related Services', 'Other Electric Connection Related Services'));
     $i = 1;
     foreach ($names as $name) {
         \App\serviceCategory::create(['name' => $name, 'order' => $i, 'status' => true]);
         $i++;
     }
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     serviceCategory::destroy($id);
     return Redirect::route('admin.services.index');
 }