For example, I have an UI with a button "Get Items" and a text field "Order". Then my button will retrieve all items from the order written in the text field. How should my controller know the order? Should it be
public void GetItems(string order){
}
or
public void GetItems(){
string order = View.Order
}
or maybe neither?