Can I render a url without query parameters with T4MVC without using nullable ints?
public virtual ActionResult GetSchoolsForDistrict(int districtId)
{
return Json(_schoolsService.GetSchoolsByDistrict(districtId.Value), JsonRequestBehavior.AllowGet);
}
You should be able to call it without any parameters. e.g.
This is because T4MVC always generates an overload with no parameters.