public ServerViewModel(ServerBasicDetails basicDetails)
        {
            Id        = basicDetails.ServerId;
            Name      = basicDetails.Name;
            Slug      = basicDetails.Slug;
            IsRunning = basicDetails.IsRunning;

            if (basicDetails is ServerExtendedDetails extendedDetails)
            {
                Containers = extendedDetails.Containers;
            }
        }
 public ServerViewModel(ServerBasicDetails basicDetails, IEnumerable <VolumeDirectory> volumes)
     : this(basicDetails)
 {
     Volumes = volumes;
 }