You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
584 B
26 lines
584 B
using System.Collections.Generic; |
|
using Model.Website.Enums; |
|
|
|
namespace Model.Website; |
|
|
|
public class WebDeploymentModel |
|
{ |
|
public static WebDeploymentType DeploymentType { get; set; } = WebDeploymentType.Private; |
|
|
|
public static List<string> Get() |
|
{ |
|
return DeploymentType == WebDeploymentType.Immortal ? GetImmortal() : new List<string>(); |
|
} |
|
|
|
|
|
public static List<string> GetImmortal() |
|
{ |
|
return new List<string> |
|
{ |
|
"", |
|
"build-calculator", |
|
"comparison-charts", |
|
"database" |
|
}; |
|
} |
|
} |