Created
August 27, 2014 09:19
-
-
Save kerslake/ecdb43e37ecc3c9644ef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public abstract class TwilioApiController : ApiController | |
{ | |
protected HttpResponseMessage TwiMLResponse(TwilioResponse response) | |
{ | |
return this.Request.CreateResponse(HttpStatusCode.OK, response.Element, new XmlMediaTypeFormatter()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment