@MrZYX yes, the problem with the old controller was that I am not checking explicitly the validation of the model.

Anyway, thanks for the work @hpetru