private void DoDelete(PhotoWithCommands photoWithCommands) { var file = this.GetService <IMvxSimpleFileStoreService>(); file.DeleteFile(photoWithCommands.Path); Photos.Remove(photoWithCommands); }
private void DoShare(PhotoWithCommands photoWithCommands) { var picker = this.GetService<IPhotoPicker>(); picker.Share(photoWithCommands.Path); }
private void DoDelete(PhotoWithCommands photoWithCommands) { var file = this.GetService<IMvxSimpleFileStoreService>(); file.DeleteFile(photoWithCommands.Path); Photos.Remove(photoWithCommands); }
private void DoShare(PhotoWithCommands photoWithCommands) { var picker = this.GetService <IPhotoPicker>(); picker.Share(photoWithCommands.Path); }