Source

TwilioFluent / TwilioFluent.Example / Controllers / TestController.cs

Full commit
namespace Example.Controllers {
    using System.Web.Mvc;
    using TwilioFluent.Mvc3;
    using TwilioFluent.TwiML;

    public class TestController : TwilioController {
        [TwilioAuthorize("AuthToken")]
        public ActionResult Index() {
            return new TwilioFluentBuilder()
                .Say("Hello {0}, welcome to TwiloFluent.", "New User")
                .Pause(1)
                .Gather("actionUrl", timeout: 15, finishOnKey: DTMF.Pound, numberOfDigits: 2)
                    .Say("Please enter a number between 10 and 20 inclusive.")
                    .End()
                .Say("I'm sorry, I didn't catch that.  Goodbye.")
                .HangUp()
                .End();
        }
    }
}