Change AddCategory to not use javascript at all! just use simple MVC actions; edit view needs to be adapted