internal virtual List <BaseTransfersBLL> GetTransfersNotProcessed() { try { List <BaseTransfersBLL> EmployeeTransferBLLList = new List <BaseTransfersBLL>(); List <Transfers> Transfers = new TransfersDAL().GetTransfersNotProccessed(); Transfers.ForEach(x => EmployeeTransferBLLList.Add(MapTransfer(x))); return(EmployeeTransferBLLList); } catch (Exception ex) { throw ex; } }
public BaseTransfersBLL GetByTransferID(int TransferID) { try { BaseTransfersBLL EmployeeTransferBLL = null; Transfers EmployeeTransfer = new TransfersDAL().GetByTransferID(TransferID); if (EmployeeTransfer != null) { EmployeeTransferBLL = MapTransfer(EmployeeTransfer); } return(EmployeeTransferBLL); } catch (Exception ex) { throw ex; } }