Ejemplo n.º 1
0
        public void UpdateWidget(JustHtmlWidget widget)
        {
            if (widget == null)
            {
                throw new ArgumentNullException(nameof(widget));
            }

            _repository.Update(widget);
        }
Ejemplo n.º 2
0
        public void InsertWidget(JustHtmlWidget widget)
        {
            if (widget == null)
            {
                throw new ArgumentNullException(nameof(widget));
            }

            _repository.Insert(widget);
        }