forked from eatvio/eatvio_app
feat(profile): send message and subscribe button
This commit is contained in:
@@ -129,4 +129,20 @@ class ProfileRepository {
|
||||
rethrow;
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> subscribe(String slug) async {
|
||||
try {
|
||||
return await profileService.subscribe(slug: slug);
|
||||
} catch (e) {
|
||||
rethrow;
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> unsubscribe(String slug) async {
|
||||
try {
|
||||
return await profileService.unsubscribe(slug: slug);
|
||||
} catch (e) {
|
||||
rethrow;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user