Solved errors of Unused method, property, variable or parameter