public ObjectXMLController(GalaxyObjectContext ctx, IContent_Repository _Contents) { context = ctx; Contents = _Contents ?? throw new ArgumentNullException(nameof(Contents)); Contents.context = ctx; }