public override async Task Delete(string key) { var existing = await _context.GetByKeyAsync(key); if (existing == null) { return; } if (existing.CreatedBy != GetCurrentUser()) { return; } await _context.DeleteAsync(key); }
public override async Task Delete(string key) { await _context.DeleteAsync(key); }