Initial commit: Kottgard production website code
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { RegisterInput } from '@/domain/services/AuthDomainService';
|
||||
import { IAuthRepository } from '@/application/ports/IAuthRepository';
|
||||
|
||||
export class RegisterUseCase {
|
||||
constructor(private readonly auth: IAuthRepository) {}
|
||||
|
||||
execute(data: RegisterInput): boolean {
|
||||
return this.auth.register(data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user