Exemplo n.º 1
0
 public DashboardAdministrador GetDashboardAdministrador()
 {
     try
     {
         using (BusinessDashboards negocio = new BusinessDashboards())
         {
             return(negocio.GetDashboardAdministrador());
         }
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Exemplo n.º 2
0
 public DashboardAgente GetDashboardAgente(int?idGrupo, int?idUsuario)
 {
     try
     {
         using (BusinessDashboards negocio = new BusinessDashboards())
         {
             return(negocio.GetDashboardAgente(idGrupo, idUsuario));
         }
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }