public static List<clsAsigResponsibleActive> SelectRow(int iResponsible,int iActive_id)
        {
            DAOAsigResponsibleActive daoProxy = new DAOAsigResponsibleActive();
            DataSet dtsProxy = daoProxy.selectRow(iResponsible,iActive_id);

            return LoadList(dtsProxy.Tables[0]);
        }
        public static List<clsAsigResponsibleActive> SelectAll()
        {
            DAOAsigResponsibleActive daoProxy = new DAOAsigResponsibleActive();
            DataSet dtsProxy = daoProxy.selectAll();

            return LoadList(dtsProxy.Tables[0]);
        }
        public static bool Delete(int iActive_id, int iResponsible_id)
        {
            ValidationException x = new ValidationException();
            if ((iActive_id <= 0)&&(iResponsible_id<=0))
                x.AgregarError("Ingrese el código de la persona y el codigo del activo");

            if (x.Cantidad > 0)
                throw x;

            DAOAsigResponsibleActive daoProxy = new DAOAsigResponsibleActive();
            return daoProxy.Delete(iResponsible_id,iActive_id);
        }
        public static int Insert(clsAsigResponsibleActive objProxy)
        {
            ValidationException x = new ValidationException();
            //if (string.IsNullOrEmpty(objProxy.DtAsign_time)&& string.IsNullOrEmpty(objProxy.SPerson_lname))
            //    x.AgregarError("verifique el nombre del y el apellido de la persona");

            if (x.Cantidad > 0)
                throw x;

            DAOAsigResponsibleActive daoProxy = new DAOAsigResponsibleActive();

            return daoProxy.Insert(objProxy.SConfirmed_desc,objProxy.SAsignation_desc,objProxy.BStatus,objProxy.DtAsign_time,objProxy.DtDevolution_time,objProxy.BConfirmed,objProxy.IResponsible_id.IResponsible_id,objProxy.IActive_id.IActive_id);
        }