private void Generate1095Cpdf(string year, List<ACACode> code, ACARate rate, List<ACACompanyDetail> company, List<ACAEmployeeDetail> empldetail, IConfiguration configuration) { foreach (var em in empldetail) { var aca = f.Get1095CValues(em.EmployeeId, code, rate, company, year); fill1095Cform(aca, em.EmployeeId, configuration); } }
public ACARate GetACARate() { StringBuilder sb = new StringBuilder(); ACARate r = new ACARate(); sb.AppendLine(" SELECT SINGLE1,SINGLE2,YEAR from aca_rate "); DataTable dt = DataManager.GetData(sb.ToString(), DataConfig.GetDataConnection(DataConfig.aca_conn)); foreach (DataRow dr in dt.Rows) { r.Single1 = dr["SINGLE1"].ToString(); r.Single2 = dr["SINGLE2"].ToString(); } return(r); }