Exemple #1
0
        public void Dashboard()
        {
            DashboardService dashboardService = new DashboardService(ConfigConnection.connectionString);

            LblClientesTotal.Text    = dashboardService.ConsultarCliente();
            LblVentasToal.Text       = dashboardService.ConsultarTotalVentas();
            LblProveedoresTotal.Text = dashboardService.ConsultarProveedores();
            LblProductos.Text        = dashboardService.ConsultarCantidadProductos();
            lblMarcas.Text           = dashboardService.ConsultarCantidadMarcas();
            lblCaja.Text             = dashboardService.ConsultarTotalVentas();
        }