Example #1
0
 public ActionResult <IEnumerable <string> > Get()
 {
     if (_featureFlagService.Is <MyFlag>().Enabled)
     {
         return(new string[] { "wow", "such feature" });
     }
     else
     {
         return(new string[] { "value1", "value2" });
     }
 }