Ejemplo n.º 1
0
 /// <summary>
 /// Obtener listado de grupos
 /// </summary>
 /// <returns></returns>
 public IList <GrupoCtrlDTO> GetGrupoControl()
 {
     try
     {
         _dal = new GeneraFrmDAL();
         return(_dal.GetGrupoControl());
     }
     catch (Exception ex)
     {
         System.Diagnostics.Debug.WriteLine("ERROR, Metodo " + System.Reflection.MethodBase.GetCurrentMethod().Name + " Detalle: " + ex.Message);
         throw ex;
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Obtener tipo de control desde la capa de negocio a través del id
 /// </summary>
 /// <returns></returns>
 public TipoCampoDTO GetTipoCampo(int id)
 {
     try
     {
         _dal = new GeneraFrmDAL();
         return(_dal.GetTipoCampo(id));
     }
     catch (Exception ex)
     {
         System.Diagnostics.Debug.WriteLine("ERROR, Metodo " + System.Reflection.MethodBase.GetCurrentMethod().Name + " Detalle: " + ex.Message);
         throw ex;
     }
 }
Ejemplo n.º 3
0
        public ControlDTO GeneraTagJson(int id)
        {
            GeneraFrmDAL bll = new GeneraFrmDAL();

            return(bll.GetControl(id));
        }