mirrored_repositories/fic-mini-project/lib/domain
import 'package:dartz/dartz.dart';

import 'package:fic_mini_project/common/failure.dart';
import 'package:fic_mini_project/domain/entity/category.dart';

abstract class CategoryRepository {
  Future<Either<Failure, List<Category>>> getAllCategories();
  Future<Either<Failure, String>> insertCategory(Category category);
  Future<Either<Failure, String>> updateCategory(Category category);
  Future<Either<Failure, String>> removeCategory(Category category);
}
