public static void UpdateDashboardControl(DashboardControl dashboardControl)
 {
     DataService.UpdateDashboardControl(dashboardControl.DashboardControlID,
                                        dashboardControl.DashboardControlKey,
                                        dashboardControl.IsEnabled,
                                        dashboardControl.DashboardControlSrc,
                                        dashboardControl.DashboardControlLocalResources,
                                        dashboardControl.ControllerClass,
                                        dashboardControl.ViewOrder);
 }
 public static int AddDashboardControl(DashboardControl dashboardControl)
 {
     return(DataService.AddDashboardControl(dashboardControl.PackageID,
                                            dashboardControl.DashboardControlKey,
                                            dashboardControl.IsEnabled,
                                            dashboardControl.DashboardControlSrc,
                                            dashboardControl.DashboardControlLocalResources,
                                            dashboardControl.ControllerClass,
                                            dashboardControl.ViewOrder));
 }
 public static void DeleteControl(DashboardControl dashboardControl)
 {
     DataService.DeleteDashboardControl(dashboardControl.DashboardControlID);
 }