The problem is common, set the breakpoints and go through the method by hand. See which object goes to the view. Run to the forum for an answer is the easiest option))
P.S It is better to send Id, not name, to the controller for filtering. And use switch instead of else If
P.S It is better to send Id, not name, to the controller for filtering. And use switch instead of else If