// 28109-Ambar-Start // Added New Method public void UpdateTotalReleventExp(int AemployeeID, int ATotalMonths, int ATotalYears)//, int AReleventMonths, int AReleventYears) { Rave.HR.DataAccessLayer.Employees.OrganisationDetails objUpdateTotalReleventExpDAL; try { objUpdateTotalReleventExpDAL = new Rave.HR.DataAccessLayer.Employees.OrganisationDetails(); objUpdateTotalReleventExpDAL.UpdateTotalReleventExp(AemployeeID, ATotalMonths, ATotalYears);//, AReleventMonths, AReleventYears); } catch (RaveHRException ex) { throw ex; } catch (Exception ex) { throw new RaveHRException(ex.Message, ex, Sources.BusinessLayer, CLASS_NAME, "UpdateTotalReleventExp", EventIDConstants.RAVE_HR_EMPLOYEE_BUSNIESS_LAYER); } }
/// <summary> /// Gets the organisation details. /// </summary> /// <param name="objGetOrganisationDetails">The obj get organisation details.</param> /// <returns></returns> public BusinessEntities.RaveHRCollection GetOrganisationDetails(BusinessEntities.OrganisationDetails objGetOrganisationDetails) { Rave.HR.DataAccessLayer.Employees.OrganisationDetails objGetOrganisationDetailsDAL; try { objGetOrganisationDetailsDAL = new Rave.HR.DataAccessLayer.Employees.OrganisationDetails(); return(objGetOrganisationDetailsDAL.GetOrganisationDetails(objGetOrganisationDetails)); } catch (RaveHRException ex) { throw ex; } catch (Exception ex) { throw new RaveHRException(ex.Message, ex, Sources.BusinessLayer, CLASS_NAME, "GetOrganisationDetails", EventIDConstants.RAVE_HR_EMPLOYEE_BUSNIESS_LAYER); } }
/// <summary> /// Deletes the non organisation details. /// </summary> /// <param name="objDeleteOrganisationDetails">The obj delete organisation details.</param> public void DeleteNonOrganisationDetails(BusinessEntities.OrganisationDetails objDeleteOrganisationDetails) { Rave.HR.DataAccessLayer.Employees.OrganisationDetails objDeleteOrganisationDetailsDAL; try { objDeleteOrganisationDetailsDAL = new Rave.HR.DataAccessLayer.Employees.OrganisationDetails(); objDeleteOrganisationDetailsDAL.DeleteNonOrganisationDetails(objDeleteOrganisationDetails); } catch (RaveHRException ex) { throw ex; } catch (Exception ex) { throw new RaveHRException(ex.Message, ex, Sources.BusinessLayer, CLASS_NAME, "DeleteOrganisationDetails", EventIDConstants.RAVE_HR_EMPLOYEE_BUSNIESS_LAYER); } }