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

            return(handler.Get());
        }
 public static IQueryHandler <SingleWidgetQuery, Widget> Build(SingleWidgetQuery query)
 {
     return(new SingleWidgetQueryHandler(query));
 }