/// <summary> /// Delete the entry with the passed id /// </summary> /// <param name="id"></param> /// <param name="cancellationToken"></param> /// <returns></returns> public virtual Task DeleteAsync(string id, CancellationToken cancellationToken = default(CancellationToken)) { appEvents.OnEntryRemoved(this, (id, typeof(TModel))); return(provider.DeleteAsync(id, cancellationToken)); }