return this.insert(entity).then(response => 
            {
                if (!response) return response;

                return this.afterSave(entity);