/// <summary>
 /// Initializes a new instance of the <see cref="ResourceViewModel"/> class.
 /// </summary>
 public ResourceViewModel(ResourceModel model, ResourceTypeViewModel type)
 {
     Type = type;
     UpdateModel(model);
 }
 public ReferenceTypeViewModel(ResourceTypeViewModel resourceType, ReferenceTypeModel model)
 {
     ResourceType = resourceType;
     Model        = model;
 }