I have a problem. I have this dropdown list :

```
  @Html.DropDownListFor(m => m.SelectCountryId, Model.Countries, @Translator.Translate("PLEASE_SELECT"), new { id = "CountryID", @class = "form-control",ng_model="countryId", ng_change = "LoadRegions(countryId);", @required = "required" })

```

And i need on ng\_change to get into MVC controller that looks like this:

```
 [AllowAnonymous]
        public JsonResult GetRegions(int countryId) // return a JsonResult
        {
            IUserManager manager = UserFactory.GetUserManager(WebConfiguration.DefaultTerminalId);
            var model = manager.GetRegions(countryId);
            return Json(model, JsonRequestBehavior.AllowGet);
        }

```

This is script in angular:

```
 $scope.LoadRegions = function (countryId)
    {
        console.log("COUNTRY ID: ", countryId);
        $http.post('/app/Account/GetRegions/'+ countryId).then(function (response)
        {
            alert(response);
        });
    }

```

I get country ID but in console i get this error:

> 
> POST <http://localhost:60789/app/Account/GetRegions/4> 500 (Internal Server Error)
> 
> 
>