14 lines
325 B
Plaintext
14 lines
325 B
Plaintext
import { UserService } from "../UserService";
|
|
import { Service, Inject } from "typedi";
|
|
import { UserDao } from "../../dao/UserDao";
|
|
|
|
@Service()
|
|
export class ImplName implements ServiceName {
|
|
|
|
@Inject()
|
|
private userDao: UserDao;
|
|
|
|
public async getAllUserService(): Promise<any> {
|
|
return await this.userDao.AllUser();
|
|
}
|
|
} |