@{
var Countries=Model.FirstOrDefault(x=>x.Id==**JavaScriptVariable**);
@Html.Partial("Countries", Countries)
}
I know its possible using ajax call, but how to assign the json result returned from server side to Razor c# code, I should either place the value in the model or ViewBag before returning the view but i dont know how to code it.