[ArgumentException: The parameters dictionary contains a null entry for parameter 'optional' of non-nullable type 'System.Guid' for method 'System.Web.Mvc.ActionResult Problem(System.Guid)' ....
相反,你可以这样做:
public void Problem(Guid? optional)
{
if (optional == null)
{
optional = new Guid();
}
}