public void PostHistoryAdd(T_HR_POSTHISTORY entity) { using (PostHistoryBLL bll = new PostHistoryBLL()) { bll.PostHistoryAdd(entity); } }
public List <T_HR_POSTHISTORY> GetPostHistory(DateTime currentDate) { using (PostHistoryBLL bll = new PostHistoryBLL()) { return(bll.GetPostHistory(currentDate)); } //var ents = bll.GetPostHistory(currentDate); //return ents.Count() > 0 ? ents.ToList() : null; }
public List<T_HR_POSTHISTORY> GetPostHistory(DateTime currentDate) { using (PostHistoryBLL bll = new PostHistoryBLL()) { return bll.GetPostHistory(currentDate); } //var ents = bll.GetPostHistory(currentDate); //return ents.Count() > 0 ? ents.ToList() : null; }