EUS/services/DomainService.ts

13 lines
309 B
TypeScript
Raw Normal View History

2025-01-26 10:34:56 +00:00
import { Console } from "hsconsole";
import DomainRepo from "../repos/DomainRepo";
export default abstract class DomainService {
public static async LoadDomains() {
try {
return await DomainRepo.SelectAll();
} catch (e) {
Console.printError(`EUS server service error:\n${e}`);
throw e;
}
}
}