BlogEngine.Core.Notes.QuickNotes.Delete C# (CSharp) Method

Delete() public method

Mark note as deleted
public Delete ( string id ) : bool
id string ID
return bool
        public bool Delete(string id)
        {
            BlogService.DeleteQuickNote(new Guid(id));
            Notes.RemoveAll(n => n.Id.ToString() == id);
            Blog.CurrentInstance.Cache.Remove(cacheKey);
            return true;
        }