internal bool DeleteEmpGeneralInfo() { var empInfo = new HRM_Emp(); GetValueFromControl(empInfo); empInfo.Delete(); var empInfoList = new CustomList <HRM_Emp>() { empInfo }; return(_empManager.SaveEmpGeneralInfo(ref empInfoList)); }
internal bool DeleteEmpGeneralInfo() { var empInfo = new HRM_Emp(); GetValueFromControl(empInfo); empInfo.Delete(); var empInfoList = new CustomList <HRM_Emp>() { empInfo }; return(_empManager.SaveEmpGeneralInfo(ref empInfoList)); }