using WIDESEA_Core; using WIDESEA_Core.BaseRepository; using WIDESEA_Core.BaseServices; using WIDESEA_IBusinessesRepository; using WIDESEA_IBusinessServices; using WIDESEA_Model.Models; namespace WIDESEA_BusinessServices { public class Dt_InboundOrderDetailService : ServiceBase, IDt_InboundOrderDetailService { private readonly IUnitOfWorkManage _unitOfWorkManage; public Dt_InboundOrderDetailService(IDt_InboundOrderDetailRepository BaseDal, IUnitOfWorkManage unitOfWorkManage) : base(BaseDal) { _unitOfWorkManage = unitOfWorkManage; } public WebResponseContent GetDetail(int InboundOrderID) { WebResponseContent content = new WebResponseContent(); try { List InboundOrderDetail = BaseDal.QueryData(x => x.OrderId == InboundOrderID).ToList(); return WebResponseContent.Instance.OK(data: InboundOrderDetail); } catch (Exception ex) { throw ex; } } } }