class MediaItemDataRepository implements MediaItemRepository {

    @Override
    public Observable<MediaItem> updateWatchedStatus( Media media, int id, boolean watched ) {

        MediaItemDataStore mediaItemDataStore = mediaItemDataStoreFactory.createMasterBackendDataStore();

        return mediaItemDataStore.updateWatchedStatus( media, id, watched )
                .map( MediaItemDataMapper::transform );
    }

    @Inject public  MediaItemDataRepository(
            final MediaItemDataStoreFactory mediaItemDataStoreFactory
    );

}