public SystemLandscapeView CreateSystemLandscapeView(string key, string description) { AssertThatTheViewKeyIsUnique(key); SystemLandscapeView view = new SystemLandscapeView(Model, key, description); SystemLandscapeViews.Add(view); return(view); }
private SystemLandscapeView FindSystemLandscapeView(SystemLandscapeView systemLandscapeView) { return(SystemLandscapeViews.FirstOrDefault(view => view.Key == systemLandscapeView.Key)); }