GenerateLocationAndAvailabilityInfo() public method

public GenerateLocationAndAvailabilityInfo ( IEnumerable docItems ) : void
docItems IEnumerable
return void
 public void InitDocument()
 {
     _document = new Document();
     var docItems = DocumentItem.GetDocumentItemsFromXml(getDocumentItemsXml(), getDocumentCircItemsXml(), new RulesRepository());
     _document.GenerateLocationAndAvailabilityInfo(docItems);
 }
Example #2
0
 private void GenerateDocumentLocationAndAvailabilityInfo(Document document)
 {
     var documentItems = GetDocumentItems(document.DocumentNumber);
     document.GenerateLocationAndAvailabilityInfo(documentItems);
 }