Browse files

Fix ups

  • Loading branch information...
1 parent 860cfae commit 57b3a14734da864d359cfb4ef55e7c90dfac66d4 @devinrader committed Mar 22, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 MvcMusicStore/Controllers/CallController.cs
View
4 MvcMusicStore/Controllers/CallController.cs
@@ -28,7 +28,7 @@ public ActionResult MainMenu()
{
var response = new TwilioResponse();
response.BeginGather(new { actionUrl = "http://twiliomvcmusicstore.apphb.com/Call/MainMenu", method = "POST" });
- response.Say("To get the status of an order one");
+ response.Say("To get the status of an order press one");
response.Say("To place an order press two");
response.Say("To speak to a customer service representative press three");
response.EndGather();
@@ -70,7 +70,7 @@ public ActionResult MainMenu(string Digits)
var response = new TwilioResponse();
- var order = db.Orders.Find(Digits);
+ var order = db.Orders.Find( int.Parse(Digits) );
if (order != null)
{
response.Say(string.Format("The status of order {0} is {1}.", Digits, order.Status));

0 comments on commit 57b3a14

Please sign in to comment.