This commit is contained in:
tanch0
2024-06-15 22:23:54 +05:45
parent 8253440371
commit cb99bedac6
144 changed files with 6436 additions and 3112 deletions

View File

@ -0,0 +1,12 @@
<?php
namespace App\Repositories\Interface;
interface AdvertisementInterface
{
public function getAll();
public function getAdvertisementById($id);
public function delete($advertisementId);
public function create(array $advertisementDetail);
public function update($advertisementId, array $newDetails);
}

View File

@ -0,0 +1,12 @@
<?php
namespace App\Repositories\Interface;
interface AuthorsInterface
{
public function getAll();
public function getAuthorsById($authorId);
public function delete($authorId);
public function create(array $authorDetail);
public function update($authorId, array $newDetails);
}

View File

@ -0,0 +1,12 @@
<?php
namespace App\Repositories\Interface;
interface EconomyInterface
{
public function getAll();
public function getId($id);
public function delete($id);
public function create(array $Details);
public function update($id, array $newDetails);
}

View File

@ -0,0 +1,12 @@
<?php
namespace App\Repositories\Interface;
interface NewsCategoriesInterface
{
public function getAll();
public function getNewsCategoriesById($newsCategoriesId);
public function delete($newsCategoriesId);
public function create(array $newsCategoriesDetail);
public function update($newsCategoriesId, array $newDetails);
}

View File

@ -0,0 +1,12 @@
<?php
namespace App\Repositories\Interface;
interface NewsInterface
{
public function getAll();
public function getNewsById($newsId);
public function delete($newsId);
public function create(array $newsDetail);
public function update($newsId, array $newDetails);
}

View File

@ -0,0 +1,12 @@
<?php
namespace App\Repositories\Interface;
interface NewsTypeInterface
{
public function getAll();
public function getNewsTypeById($newsTypeId);
public function delete($newsTypeId);
public function create(array $newsTypeDetail);
public function update($newsTypeId, array $newDetails);
}

View File

@ -0,0 +1,12 @@
<?php
namespace App\Repositories\Interface;
interface ProvinceInterface
{
public function getAll();
public function getProvinceById($provinceId);
public function delete($provinceId);
public function create(array $provinceDetails);
public function update($provinceId, array $newDetails);
}