mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-30 13:18:19 +01:00
11 lines
278 B
Dart
11 lines
278 B
Dart
import 'package:nc_photos/account.dart';
|
|
import 'package:nc_photos/entity/album.dart';
|
|
|
|
class CreateAlbum {
|
|
const CreateAlbum(this.albumRepo);
|
|
|
|
Future<Album> call(Account account, Album album) async =>
|
|
albumRepo.create(account, album);
|
|
|
|
final AlbumRepo albumRepo;
|
|
}
|