public bool Insert(int EligibilityDepartmentId, int DivisionID, int PersonId, DateTime DateAssigned, string Position)
        {
            EligibilityConsultantDAC eligibilityconsultantComponent = new EligibilityConsultantDAC();
            int EligibilityConsultantId = 0;

            return(eligibilityconsultantComponent.InsertNewEligibilityConsultant(ref EligibilityConsultantId, EligibilityDepartmentId, DivisionID, PersonId, DateTime.Now, Position));
        }
        public bool Insert(EligibilityConsultant eligibilityconsultant)
        {
            int autonumber = 0;
            EligibilityConsultantDAC eligibilityconsultantComponent = new EligibilityConsultantDAC();
            bool endedSuccessfuly = eligibilityconsultantComponent.InsertNewEligibilityConsultant(ref autonumber, eligibilityconsultant.EligibilityDepartmentId, eligibilityconsultant.DivisionID, eligibilityconsultant.PersonId, eligibilityconsultant.DateAssigned, eligibilityconsultant.Poisition);

            if (endedSuccessfuly)
            {
                eligibilityconsultant.EligibilityConsultantId = autonumber;
            }
            return(endedSuccessfuly);
        }