예제 #1
0
        public ListItemModel GetNote(UserSelectedContext catalogInfo, string itemNumber)
        {
            ListItemModel   returnValue = null;
            NotesListHeader header      = _headerRepo.GetHeadersForCustomer(catalogInfo);

            if (header != null)
            {
                var noteDetail = _detailRepo.Get(header.Id, itemNumber);
                returnValue = noteDetail?.ToWebModel();
            }

            return(returnValue);
        }