added api for forgot password
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import 'package:tm_app/data/services/model/forgot_password_response/forgot_password_response_model.dart';
|
||||
import 'package:tm_app/data/services/model/login_response/login_response_model.dart';
|
||||
|
||||
import '../../core/utils/result.dart';
|
||||
@@ -24,4 +25,10 @@ class AuthRepository {
|
||||
Future<void> localLogout() async {
|
||||
return _authService.localLogout();
|
||||
}
|
||||
|
||||
Future<Result<ForgotPasswordResponseModel>> forgotPassword({
|
||||
required String email,
|
||||
}) async {
|
||||
return _authService.forgotPassword(email: email);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user