Beispiel #1
0
 public void DepartmentHistoryAdd(T_HR_DEPARTMENTHISTORY entity)
 {
     using (DepartmentHistoryBLL bll = new DepartmentHistoryBLL())
     {
         bll.DepartmentHistoryAdd(entity);
     }
 }
Beispiel #2
0
 public List <T_HR_DEPARTMENTHISTORY> GetDepartmentHistory(DateTime currentDate)
 {
     using (DepartmentHistoryBLL bll = new DepartmentHistoryBLL())
     {
         return(bll.GetDepartmentHistory(currentDate));
     }
     //var ents = bll.GetDepartmentHistory(currentDate);
     //return ents.Count() > 0 ? ents.ToList() : null;
 }
 public void DepartmentHistoryAdd(T_HR_DEPARTMENTHISTORY entity)
 {
     using (DepartmentHistoryBLL bll = new DepartmentHistoryBLL())
     {
         bll.DepartmentHistoryAdd(entity);
     }
 }
 public List<T_HR_DEPARTMENTHISTORY> GetDepartmentHistory(DateTime currentDate)
 {
     using (DepartmentHistoryBLL bll = new DepartmentHistoryBLL())
     {
         return bll.GetDepartmentHistory(currentDate);
     }
     //var ents = bll.GetDepartmentHistory(currentDate);
     //return ents.Count() > 0 ? ents.ToList() : null;
 }