void observable_ItemChanged(object sender, PropertyChangedEventArgs e) { EntityChangedEventArgs <TEntity> args = new EntityChangedEventArgs <TEntity>(); args.Item = (TEntity)sender; ItemChanged(this, args); }
void employees_ItemChanged(object sender, EntityChangedEventArgs <T> args) { service.Update(args.Item.InnerModel.Id); }