void Handle(Input.ChooseFood action) { switch (action.Value) { case "Fruit": this.MorphUrl = "/UniformDocs/Redirect/apple"; break; case "Vegetable": this.MorphUrl = "/UniformDocs/Redirect/carrot"; break; case "Bread": this.MorphUrl = "/UniformDocs/Redirect/baguette"; break; } }
void Handle(Input.ChooseFood Action) { switch (Action.Value) { case "Fruit": this.MorphUrl = "/KitchenSink/Redirect/apple"; break; case "Vegetable": this.MorphUrl = "/KitchenSink/Redirect/carrot"; break; case "Bread": this.MorphUrl = "/KitchenSink/Redirect/baguette"; break; } }