EUS/services/DomainService.ts
2025-01-26 10:34:56 +00:00

13 lines
No EOL
309 B
TypeScript

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;
}
}
}