/**
  * Retrieve all data of repository
  *
  * @param array $columns
  *
  * @return mixed
  */
 public function all($columns = ['*'])
 {
     $this->applyCriteria();
     $this->applyScope();
     if ($this->model instanceof Builder) {
         $results = $this->model->get($columns);
     } else {
         $results = $this->model->all($columns);
     }
     $this->resetModel();
     $this->resetScope();
     return $this->parserResult($results);
 }