added company profile and fixed some parts
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import 'package:tm_app/data/services/model/company_profile_response/company_profile_response.dart';
|
||||
import 'package:tm_app/data/services/profile_service.dart';
|
||||
|
||||
import '../../core/utils/result.dart';
|
||||
@@ -11,4 +12,8 @@ class ProfileRepository {
|
||||
Future<Result<ProfileResponse>> getProfile() async {
|
||||
return _profileService.getProfile();
|
||||
}
|
||||
|
||||
Future<Result<CompanyProfileResponse>> getCompanyProfile() {
|
||||
return _profileService.getCompanyProfile();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user