protected void Create(TDto entity) { if (!NeedToProcess(entity)) { return; } EntitiesStorage.Add(entity); }
protected void Update(TDto entity) { if (!NeedToProcess(entity)) { return; } Delete(entity); EntitiesStorage.Add(entity); }