public void ProcessOneWayEvent(SPRemoteEventProperties properties)
{
switch (properties.EventType)
{
case SPRemoteEventType.ItemUpdated:
switch (properties.ItemEventProperties.ListTitle)
{
case "Expected Shipments":
bool updateComplete = TryUpdateInventory(properties);
if (updateComplete)
{
RecordInventoryUpdateLocally(properties);
}
break;
}
break;
}
}