public void Create(Event model) { if (model != null) { _cache.Delete("EventCache"); _repository.Create(model); } }