profile dependencies added
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'package:tm_app/data/services/model/login_response/login_response_model.dart';
|
||||
import 'package:tm_app/data/services/model/logout_response/logout_response.dart';
|
||||
|
||||
import '../../core/utils/result.dart';
|
||||
import '../services/auth_service.dart';
|
||||
@@ -15,4 +16,8 @@ class AuthRepository {
|
||||
}) async {
|
||||
return _authService.login(username: username, password: password);
|
||||
}
|
||||
|
||||
Future<Result<LogoutResponse>> logout() async {
|
||||
return _authService.logout();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user