10 lines
273 B
TypeScript
10 lines
273 B
TypeScript
import { AuthRepository } from '@app/domain/authentification/auth.repository';
|
|
|
|
export class SendVerificationEmailUsecase {
|
|
constructor(private readonly authRepo: AuthRepository) {}
|
|
|
|
execute(email: string) {
|
|
return this.authRepo.sendVerificationEmail(email);
|
|
}
|
|
}
|