public function destroyAll(VisitLogModel $visitLog)
    {
        if (!$visitLog->truncate()) {
            return Redirect::back()->withErrors($visitLog->errors());
        }

        return Redirect::back();
    }
public function destroyAll(VisitLogModel $visitLog)
    {
        if (!$visitLog->truncate()) {
            return Redirect::back()->withErrors($visitLog->errors());
        }

        return Redirect::back();
    }
public function destroyAll ( VisitLogModel $ visitLog ) { if ( ! $ visitLog -> truncate ( ) ) { return Redirect :: back ( ) -> withErrors ( $ visitLog -> errors ( ) ) ; } return Redirect :: back ( ) ; }
Deletes all records.

@param VisitLogModel $visitLog
@return mixed
Deletes all records .