Esempio n. 1
0
 public static ToggleDto GetToggleDto1()
 {
     return(new ToggleDto
     {
         Id = "625c3b92-c94e-435a-84e5-66e02c346fb4",
         Name = "isButtonGreen",
         Version = "v1",
         Applications = new List <ApplicationDto>()
         {
             ApplicationFakeData.GetApplicationDtoXPTO()
         }
     });
 }
Esempio n. 2
0
 public static ToggleDto GetToggleDto2()
 {
     return(new ToggleDto
     {
         Id = "66e02c346fb4-c94e-435a-84e5--625c3b92",
         Name = "isButtonRed",
         Version = "v1",
         Applications = new List <ApplicationDto>()
         {
             ApplicationFakeData.GetApplicationDtoABC()
         }
     });
 }
Esempio n. 3
0
 public static Toggle GetToggle2()
 {
     return(new ToggleBuilder().WithId("66e02c346fb4-c94e-435a-84e5--625c3b92").WithName("isButtonRed-new")
            .AllowedForAllApplications(ApplicationFakeData.GetApplications()).Build());
 }