private async Task DeleteMovie(Movie movie) { if (await Confirm(Resources.MontyNi, Resources.AreYouSure)) { await _engine.DeleteEntity(movie); } }
private async Task DeleteScriptService(ScriptService scriptService) { if (!await _dialogService.Confirm(Novaroma.Properties.Resources.MontyNi, Novaroma.Properties.Resources.AreYouSure)) { return; } await _engine.DeleteEntity(scriptService); _scriptServices.Remove(scriptService); IsModified = true; }