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 StoreIssueDAL { public List StoreIssue(string bt, string et, string part_nbr, string workorder, string lot_nbr) { using (var context = new mesModel()) { ReportDal report = new ReportDal(); string sql = report.StoreIssueSql(bt, et, part_nbr, workorder, lot_nbr); var res = context.DynamicListFromSql(sql, null); return res.ToList(); } } } }