public function destroy($id)
 {
     DnsTemplate::destroy($id);
     return $this->index();
 }
 /**
  * Show the form for creating a new resource.
  *
  * @return Response
  */
 public function bulkCreate()
 {
     $dnsTemplate = new DnsTemplate();
     $accounts = new RegistrarAccount();
     return view('pages.domain.bulkcreate', ['dnsTemplates' => $dnsTemplate->getSelectArray(), 'accounts' => $accounts->getSelectArray()]);
 }