Exemplo n.º 1
0
        public Boolean deleteEducation(EducationDto obj)
        {
            using (NewRecruiteeService.ServiceWCFClient svc = new NewRecruiteeService.ServiceWCFClient())
            {
                try
                {
                    EducationDto rec = svc.selectEducationById(obj);

                    if (rec != null)
                    {
                        return svc.deleteEducation(obj);
                    }
                    else
                    {
                        return false;
                    }
                }
                catch (Exception ex)
                {
                    return false;
                }
            }
        }