コード例 #1
0
        /// <summary>
        /// Adds the organisation details.
        /// </summary>
        /// <param name="objAddOrganisationDetails">The obj add organisation details.</param>
        public void AddOrganisationDetails(BusinessEntities.OrganisationDetails objAddOrganisationDetails)
        {
            Rave.HR.DataAccessLayer.Employees.OrganisationDetails objAddOrganisationDetailsDAL;

            try
            {
                objAddOrganisationDetailsDAL = new Rave.HR.DataAccessLayer.Employees.OrganisationDetails();

                objAddOrganisationDetailsDAL.AddOrganisationDetails(objAddOrganisationDetails);
            }
            catch (RaveHRException ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw new RaveHRException(ex.Message, ex, Sources.BusinessLayer, CLASS_NAME, "AddOrganisationDetails", EventIDConstants.RAVE_HR_EMPLOYEE_BUSNIESS_LAYER);
            }
        }