public List <T_HR_COMPANYHISTORY> GetCompanyHistoryDate() { using (CompanyHistoryBLL bll = new CompanyHistoryBLL()) { return(bll.GetCompanyHistoryDate()); } }
public void CompanyHistoryAdd(T_HR_COMPANYHISTORY entity) { using (CompanyHistoryBLL bll = new CompanyHistoryBLL()) { bll.CompanyHistoryAdd(entity); } }
public List <T_HR_COMPANYHISTORY> GetCompanyHistory(DateTime currentDate) { using (CompanyHistoryBLL bll = new CompanyHistoryBLL()) { return(bll.GetCompanyHistory(currentDate)); } //var ents = bll.GetCompanyHistory(currentDate); //return ents.Count() > 0 ? ents.ToList() : null; }
public void UpdateCheckState(string strEntityName, string EntityKeyName, string EntityKeyValue, string CheckState) { if (CheckState == "delete") { if (strEntityName == "T_HR_ATTENDMONTHLYBATCHBALANCE") { using (AttendMonthlyBatchBalanceBLL bll = new AttendMonthlyBatchBalanceBLL()) { bll.DeleteMonthlyBatchBalance(EntityKeyValue); } } } else { using (CompanyHistoryBLL bll = new CompanyHistoryBLL()) { bll.UpdateCheckState(strEntityName, EntityKeyName, EntityKeyValue, CheckState); } } }
public List<T_HR_COMPANYHISTORY> GetCompanyHistoryDate() { using (CompanyHistoryBLL bll = new CompanyHistoryBLL()) { return bll.GetCompanyHistoryDate(); } }
public List<T_HR_COMPANYHISTORY> GetCompanyHistory(DateTime currentDate) { using (CompanyHistoryBLL bll = new CompanyHistoryBLL()) { return bll.GetCompanyHistory(currentDate); } //var ents = bll.GetCompanyHistory(currentDate); //return ents.Count() > 0 ? ents.ToList() : null; }