using JHReport.DAL; using System; using System.Collections.Generic; using System.Linq; using System.Web; using Warehouse.Models.mesModel; namespace Warehouse.DAL.Report { public class CellBatchRateDal { public List CellBatchRate(string sale_order, string workorder, string area_code) { using (var context = new mesModel()) { ReportDal report = new ReportDal(); string sql = report.CellBatchRateSql(sale_order, workorder, area_code); var res = context.DynamicListFromSql(sql, null); return res.ToList(); } } } }