TF-4178 Add datasource/repository/interactor for create new label

This commit is contained in:
dab246
2025-11-26 16:32:53 +07:00
committed by Dat H. Pham
parent 8f1da20e54
commit 38c47ca373
10 changed files with 128 additions and 22 deletions
@@ -12,4 +12,9 @@ class LabelRepositoryImpl extends LabelRepository {
Future<List<Label>> getAllLabels(AccountId accountId) {
return _labelDatasource.getAllLabels(accountId);
}
@override
Future<Label> createNewLabel(AccountId accountId, Label labelData) {
return _labelDatasource.createNewLabel(accountId, labelData);
}
}