13 lines
No EOL
309 B
TypeScript
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;
|
|
}
|
|
}
|
|
} |