public function getAll($lang = "")
    {
        $result = [];
        $postType = PostType::all()->orderBy('postTypeID');
        foreach ($postType as $postType){
            $postType->categories = Category::where("postTypeID", $postType->postTypeID)->get();
            $result[] = $postType;
        }

        return ['data' => $result];
    }