When this piece of code of mine is requested with the Console program, there is no problem, but it will not work if it is placed in the Controller. Why, the following is my rele