Filtering Logic In Controllers