using JHReport.DAL; using System; using System.Collections.Generic; using System.Linq; using System.Web; using Warehouse.Models.DTO; using Warehouse.Models.mesModel; namespace Warehouse.DAL.Report { public class FragmentRateReportDal { public List FragmentRateReport(string bt, string et, string area) { using (var context = new mesModel()) { ReportDal report = new ReportDal(); string sql = report.FragmentRateReportSql(bt, et, area); var res = context.DynamicListFromSql(sql, null); return res.ToList(); } } } }