print controller getdefectsummary( displaying defect list for 'abccomponent print controller getdefectlist('abc'explanation controller would first get the query from the user it would know that the query is for viewing defects accordingly it would choose defectmodel if the query is for particular defectcontroller calls getsummary(method of defectmodelpassing the defect id as the argumentfor returning the summary of the defect then the controller calls summary(method of defectview and displays the response to the user if the user query consists of component namecontroller calls getdefectlist(method of defectmodelpassing the component name as the argumentfor returning the defect list for the given component then the controller calls defectlist(method of defectview and displays the response to the user www testingperspective com