authentication

This commit is contained in:
Bastian Wagner
2024-09-13 21:14:09 +02:00
parent c00aad559d
commit b4a5f04505
65 changed files with 1140 additions and 77 deletions

View File

@@ -0,0 +1,11 @@
import { Injectable } from '@nestjs/common';
import { RoleRepository } from 'src/model/repositories';
@Injectable()
export class RoleService {
constructor(private readonly rolesRepo: RoleRepository) {}
getRoles() {
return this.rolesRepo.find();
}
}