public async Task <ActionResult> Delete(string key) { return(await base.HandleDelete(key, id => _repository.Get(id), model => _repository.Delete(model))); }