If all code is in the original post then you have no place where you create your ModelContainer instance
Topic:
UI Frameworks
SubTopic:
General
Tags: