Added fix for missing categoryID value but it doesn't seem correct to have to supply a second parameter to the controller method when there's a perfectly good object already being supplied.