public TableSource(Dictionary <string, List <ExampleModel> > tableItems, AnylineViewController parent)
        {
            TableItems = tableItems;

            // adds NFC as special case once it's supported
            if (nfcSupported)
            {
                var lastItem = TableItems.Last();
                TableItems.Remove(lastItem.Key);
                TableItems.Add("NFC-Item", new List <ExampleModel> {
                    new ExampleModel(ItemType.Item, "Scan NFC of Passports", Category.Workflows, "")
                });
                TableItems.Add(lastItem.Key, lastItem.Value);
            }

            AnylineScanViewController = parent;
        }
 public TableSource(Dictionary <string, List <ExampleModel> > tableItems, AnylineViewController parent)
 {
     TableItems = tableItems;
     AnylineScanViewController = parent;
 }