public FakeCentralizer() { var environment1 = new Environments(); environment1.Central = "T"; environment1.Name = "SBR"; var environment2 = new Environments(); environment2.Central = ""; environment2.Name = "CLIENT1"; var environment3 = new Environments(); environment3.Central = "T"; environment3.Name = "That's it"; environmentsList.Add(environment1); environmentsList.Add(environment2); environmentsList.Add(environment3); }
public List<Environments> GetEnvironments(string environmentName) { var environmentsList = new List<Environments>(); var environment1 = new Environments(); environment1.Central = "T"; environment1.Name = "SBR"; var environment2 = new Environments(); environment2.Central = ""; environment2.Name = "CLIENT1"; var environment3 = new Environments(); environment3.Central = "T"; environment3.Name = "That's it"; environmentsList.Add(environment1); environmentsList.Add(environment2); environmentsList.Add(environment3); return environmentsList; }