public override async Task<bool> InvokeAsync(string paramList)
{
OutputInformation("Last Order");
var lastitem = _context.Orders.OrderByDescending(x => x.OrderID).FirstOrDefault();
if (lastitem != null)
{
OutputInformation("OrderID {0}", lastitem.OrderID);
OutputInformation("OrderType {0}", lastitem.OrderType);
OutputInformation("ShippedDate {0}", lastitem.ShippedDate);
OutputInformation("ShipperCity {0}", lastitem.ShipperCity);
}
return true;
}
}