public List<T_HR_EMPLOYEESALARYRECORD> ReadExcel(string filepath, out int failcount, out int successcount, string year, string month, string paySign) { using (PaymentBLL bll = new PaymentBLL()) { return bll.ReadExcel(filepath, out failcount, out successcount, year, month, paySign); } }
public List<T_HR_EMPLOYEESALARYRECORD> ImportExcel(UploadFileModel UploadFile, out int failcount, out int successcount, string year, string month, string paySign) { string strPath = string.Empty; //, int pageIndex, int pageSize, ref int pageCount, ref string strMsg SaveFile(UploadFile, out strPath); string strPhysicalPath = HttpContext.Current.Server.MapPath(strPath); using (PaymentBLL bll = new PaymentBLL()) { return bll.ReadExcel(strPhysicalPath, out failcount, out successcount, year, month, paySign); } }