chore: add service list fetch for admin with filters

This commit is contained in:
mahyargdz
2025-01-29 14:43:48 +03:30
parent 7ad744930b
commit b1d0c3c882
7 changed files with 70 additions and 37 deletions
@@ -13,4 +13,8 @@ export class DanakServicesRepository extends Repository<DanakService> {
async findOneByName(name: string): Promise<DanakService | null> {
return this.findOneBy({ name });
}
async findServiceById(id: string): Promise<DanakService | null> {
return this.findOneBy({ id });
}
}