/**
  * Find a partial type by ID.
  *
  * @param $id
  * @return null|TypeInterface
  */
 public function find($id)
 {
     return $this->model->find($id);
 }
 /**
  * Find a partial by it's slug.
  *
  * @param $slug
  * @return null|TypeInterface
  */
 public function findBySlug($slug)
 {
     return $this->model->where('slug', $slug)->first();
 }