Beispiel #1
0
        protected void Create(TDto entity)
        {
            if (!NeedToProcess(entity))
            {
                return;
            }

            EntitiesStorage.Add(entity);
        }
Beispiel #2
0
        protected void Update(TDto entity)
        {
            if (!NeedToProcess(entity))
            {
                return;
            }

            Delete(entity);
            EntitiesStorage.Add(entity);
        }