public Widget WidgetDetails(int widgetId)
        {
            var query   = new SingleWidgetQuery(widgetId);
            var handler = WidgetQueryFactory.Build(query);

            return(handler.Get());
        }
        public IEnumerable <Widget> ListWidgets()
        {
            var query   = new AllWidgetQuery();
            var handler = WidgetQueryFactory.Build(query);

            return(handler.Get());
        }