Warehouse.Software.UpdateHook C# (CSharp) Method

UpdateHook() static private method

static private UpdateHook ( object sender, object entity ) : void
sender object
entity object
return void
        static internal void UpdateHook(object sender, object entity) {

            // Get all Depots where this app is, and update the "Updated" date
            IList<Depot> depots = Depot.GetDepotWhereSoftwareExists(entity as Software);
            foreach (Depot depot in depots) {
                depot.SetModified();
            }
        }