public static bool ValidaEliminacionParentesco(DTO.Propietario.ParentescoDTO theParentescoDTO, ref DataTable pobjDatatable) { bool retorno = false; YouCom.Service.BD.SQLHelper wobjSQLHelper = new YouCom.Service.BD.SQLHelper(); wobjSQLHelper.SetParametro("@idParentesco", SqlDbType.VarChar, 20, theParentescoDTO.IdParentesco); try { //==================================================================================== if (wobjSQLHelper.Ejecutar("validaEliminacionParentesco", "YouCom", pobjDatatable) <= 0) { retorno = false; } else { retorno = true; } } catch (Exception eobjException) { throw eobjException; } return(retorno); }
public static bool ValidaEliminacionParentesco(DTO.Propietario.ParentescoDTO theParentescoDTO) { bool respuesta = facade.Parentesco.ValidaEliminacionParentesco(theParentescoDTO); return(respuesta); }
public static bool ActivaParentesco(DTO.Propietario.ParentescoDTO theParentescoDTO) { bool respuesta = ParentescoDAL.ActivaParentesco(theParentescoDTO); return(respuesta); }
public static bool Update(DTO.Propietario.ParentescoDTO theParentescoDTO) { bool resultado = ParentescoDAL.Update(theParentescoDTO); return(resultado); }
public static bool Insert(DTO.Propietario.ParentescoDTO theParentescoDTO) { bool resultado = ParentescoDAL.Insert(theParentescoDTO); return(resultado); }