void Handle(Input.DeleteTrigger Action) { if (File.Exists(this.FilePath)) { File.Delete(this.FilePath); } this.ParentPage.Files.Remove(this); }
protected void Handle(Input.DeleteTrigger action) { this.ParentPage.Products.Remove(this); Db.Transact(() => { this.Data.Repository.Delete(); }); }
public void Handle(Input.DeleteTrigger action) { this.DeleteAction?.Invoke(this); }
protected void Handle(Input.DeleteTrigger action) { this.Data.IsDeleted = true; }
public void Handle(Input.DeleteTrigger Action) { Event thisEvent = DbHelper.FromID(DbHelper.Base64DecodeObjectID(this.Key)) as Event; HelperFunctions.DeleteEvent(thisEvent); }