title: Function Failed to load resource: Mvc
body: <p>i try to call a method in my sitefinity project using mvc models,
  but the program tell Failed to load resource: 404, 
  and never find the controller and i dont know how to resolved,
  this is my code</p>
  
  <p>Jquery call:</p>
  
  <pre><code>function myFunction(postId) {
      $.ajax({
          url:'/CombosController/GetCantones',
          type: 'POST',
          dataType:"applicaiton/json; charset=utf-8",
          data: { idprovincia: postId },
          success: function(data) {alert("success");},
          error: function() {alert("error");}
      })
  }
  </code></pre>
  
  <p>Action of controller:</p>
  
  <pre><code>[WebMethod]
  public static ActionResult GetCantones(int idprovincia)
  {
       CombosBL.Provincias.JsonListados metodos = new JsonLIstados();
       List&lt;ClaseCantones.NCanton&gt; ListaPropiedades = metodos.GetCantonesByIdProvincia(idprovincia);
       var lista = ListaPropiedades;
       return new JsonResult { Data = lista, JsonRequestBehavior = JsonRequestBehavior.AllowGet };
  }
  </code></pre>