title: Redirect to new url C# MVC with HttpResponse.Redirect
body: <p>I am struggling with the <code>HttpResponse.Redirect</code> method. I thought it would be included in <code>System.Web</code> but I am getting the </p>
  
  <blockquote>
    <p>The name 'Response' does not exist in the current context" error.</p>
  </blockquote>
  
  <p>This is the entire controller: </p>
  
  <pre><code>using System.Net;
  using System.Net.Http;
  using System.Text;
  using System.Web;
  using System.Web.Http;
  
  namespace MvcApplication1.Controllers
  {
      public class SmileyController : ApiController
      {
          public HttpResponseMessage Get(string id)
          {
              Response.Redirect("http://www.google.com");
              return new HttpResponseMessage
              {
                  Content = new StringContent("[]", new UTF8Encoding(), "application/json"),
                  StatusCode = HttpStatusCode.NotFound,
              };
          }
      }
  }
  </code></pre>