diff --git a/lib/src/cache_service.dart b/lib/src/cache_service.dart index 3a8ef9cf..9f79435f 100644 --- a/lib/src/cache_service.dart +++ b/lib/src/cache_service.dart @@ -1,3 +1,4 @@ +import 'dart:async'; import 'package:angel_framework/angel_framework.dart'; import 'package:meta/meta.dart'; @@ -18,4 +19,24 @@ class CacheService extends Service { : this.cache = cache ?? new MapService() { assert(database != null); } + + @override + Future create(data, [Map params]) { + return database.create(data, params); + } + + @override + Future modify(id, data, [Map params]) { + return database.modify(id, data, params); + } + + @override + Future update(id, data, [Map params]) { + return database.modify(id, data, params); + } + + @override + Future remove(id, [Map params]) { + return database.remove(id, params); + } }