/**
  * @param $filter
  * @return array
  */
 public function latest($filter)
 {
     return $this->category->latest($filter);
 }
 /**
  * gets deleted posts
  * @param $filter
  * @return array
  */
 public function deleted($filter)
 {
     $section['section'] = $this->section->deleted($filter);
     $section['category'] = $this->category->deleted($filter);
     return $section;
 }