/// <summary> /// Updates the certification details. /// </summary> /// <param name="objUpdateCertificationDetails">The obj update certification details.</param> public void UpdateCertificationDetails(BusinessEntities.CertificationDetails objUpdateCertificationDetails) { //Object declaration of CertificationDetails class Rave.HR.DataAccessLayer.Employees.CertificationDetails objUpdateCertificationDetailsDAL; try { //Created new instance of CertificationDetails class to call UpdateCertificationDetails() of Data access layer objUpdateCertificationDetailsDAL = new Rave.HR.DataAccessLayer.Employees.CertificationDetails(); //Call to UpdateCertificationDetails() of Data access layer objUpdateCertificationDetailsDAL.UpdateCertificationDetails(objUpdateCertificationDetails); } catch (RaveHRException ex) { throw ex; } catch (Exception ex) { throw new RaveHRException(ex.Message, ex, Sources.BusinessLayer, CLASS_NAME, UPDATECERTIFICATIONDETAILS, EventIDConstants.RAVE_HR_EMPLOYEE_BUSNIESS_LAYER); } }
/// <summary> /// Gets the certification details. /// </summary> /// <param name="objGetCertificationDetails">The obj get certification details.</param> /// <returns></returns> public BusinessEntities.RaveHRCollection GetCertificationDetails(BusinessEntities.CertificationDetails objGetCertificationDetails) { //Object declaration of QualificationDetails class Rave.HR.DataAccessLayer.Employees.CertificationDetails objGetCertificationDetailsDAL; try { //Created new instance of QualificationDetails class to call objGetQualificationDetailsDAL() of Data access layer objGetCertificationDetailsDAL = new Rave.HR.DataAccessLayer.Employees.CertificationDetails(); //Call to GetQualificationDetails() of Data access layer and return the Qualifications return(objGetCertificationDetailsDAL.GetCertificationDetails(objGetCertificationDetails)); } catch (RaveHRException ex) { throw ex; } catch (Exception ex) { throw new RaveHRException(ex.Message, ex, Sources.BusinessLayer, CLASS_NAME, GETCERTIFICATIONDETAILS, EventIDConstants.RAVE_HR_EMPLOYEE_BUSNIESS_LAYER); } }