using GB5Shared.DTO.Framework.Criteria; using GB5Shared.DTO.Framework.Login; using LogisticsDAL.CustomCode.Trip; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LogisticsBLL.Trip { public class TripBLL : ITripBLL { private readonly ITripDAL _TripDAL; public TripBLL(ITripDAL TripDAL) { _TripDAL = TripDAL; } public async Task GetSelectListTrip(int FirstNumber, int MaxResult, CriteriaDTO CriteriaDTO, LoginDTO LoginDTO) { try { return await _TripDAL.GetSelectListTrip(FirstNumber, MaxResult, CriteriaDTO, LoginDTO); } catch (Exception ex) { throw new Exception($"Error in TripBLL.GetSelectListTrip: {ex.Message}", ex); } } } }