/// <summary> /// Creates a new widgetdata in the database /// </summary> public WidgetData AddWidgetData(WidgetData widgetData) { InitRepo(); widgetRepo.CreateWidgetData(widgetData); return(widgetData); }