deletePhoto method
handles both sides (memory service and mobx obs photos) + server
Implementation
@override
Future<bool> deletePhoto(ArticlePhoto data,
{bool isLocalFileToBeDeleted = false, bool isInternetAvailable = true}) {
return _$deletePhotoAsyncAction.run(() => super.deletePhoto(data,
isLocalFileToBeDeleted: isLocalFileToBeDeleted,
isInternetAvailable: isInternetAvailable));
}