示例#1
0
        /// <summary>
        /// Updates the CR details.
        /// </summary>
        /// <param name="objUpdateQualificationDetails">The obj update qualification details.</param>
        public void UpdateCRDetails(BusinessEntities.Contract objUpdateCRDetails)
        {
            //Object declaration of Contract class
            Rave.HR.DataAccessLayer.Contracts.Contract objUpdateCRDetailsDAL;

            try
            {
                //Created new instance of Contract class to call UpdateCRDetails() of Data access layer
                objUpdateCRDetailsDAL = new Rave.HR.DataAccessLayer.Contracts.Contract();

                //Call to UpdateQualificationDetails() of Data access layer
                objUpdateCRDetailsDAL.UpdateCRDetails(objUpdateCRDetails);
            }
            catch (RaveHRException ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw new RaveHRException(ex.Message, ex, Sources.BusinessLayer, CONTRACT, "UpdateCRDetails", EventIDConstants.RAVE_HR_EMPLOYEE_BUSNIESS_LAYER);
            }
        }