public BreatheViewModel Breathe(AirInputModel model) { var result = model.TakeABreath ? new BreatheViewModel { Text = "Breathe in!" } : new BreatheViewModel { Text = "Exhale!" }; return result; }
public BreatheViewModel Breathe(AirInputModel model) { var result = model.TakeABreath ? new BreatheViewModel { Text = "Breathe in!" } : new BreatheViewModel { Text = "Exhale!" }; return(result); }