I am uing class aproach. Please, refer some tutorial how to register ajax handler on class.
When ajax request is sent I am facing with admin-ajax.php 400 http error. @Deepak Rajpal said to move handler into main plugin file. I am wondering how to achive a goal with class aproach.