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; }
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; }