I want to pass a value from the view to the controller the value is retrieve via jquery when I use the code below it does not work the value is null in the controller.
//Hardcoded to test
var groupId = 1;
$('#timeList').load('/Time/Index/' + groupId);
public ActionResult Index(int? groupId)
{
AddProjectToViewData(-1);
return View(_service.ListTimes());
}