/// <summary> /// Updates the project details. /// </summary> /// <param name="objUpdateProjectDetails">The obj update project details.</param> public void UpdateProjectDetails(BusinessEntities.ProjectDetails objUpdateProjectDetails) { Rave.HR.DataAccessLayer.Employees.ProjectDetails objUpdateProjectDetailsDAL; try { objUpdateProjectDetailsDAL = new Rave.HR.DataAccessLayer.Employees.ProjectDetails(); objUpdateProjectDetailsDAL.UpdateProjectDetails(objUpdateProjectDetails); } catch (RaveHRException ex) { throw ex; } catch (Exception ex) { throw new RaveHRException(ex.Message, ex, Sources.BusinessLayer, CLASS_NAME, "UpdateProjectDetails", EventIDConstants.RAVE_HR_EMPLOYEE_BUSNIESS_LAYER); } }
/// <summary> /// Gets the project details. /// </summary> /// <param name="objGetProjectDetails">The obj get project details.</param> /// <returns></returns> public BusinessEntities.RaveHRCollection GetProjectDetails(BusinessEntities.ProjectDetails objGetProjectDetails) { //Object declaration of QualificationDetails class Rave.HR.DataAccessLayer.Employees.ProjectDetails objGetProjectDetailsDAL; try { //Created new instance of QualificationDetails class to call objGetQualificationDetailsDAL() of Data access layer objGetProjectDetailsDAL = new Rave.HR.DataAccessLayer.Employees.ProjectDetails(); //Call to GetQualificationDetails() of Data access layer and return the Qualifications return(objGetProjectDetailsDAL.GetProjectDetails(objGetProjectDetails)); } catch (RaveHRException ex) { throw ex; } catch (Exception ex) { throw new RaveHRException(ex.Message, ex, Sources.BusinessLayer, CLASS_NAME, "GetProjectDetails", EventIDConstants.RAVE_HR_EMPLOYEE_BUSNIESS_LAYER); } }