I have certain code with in the same controller class that looks almost the same, such as setting viewbags to populate all the drop down lists, the same code applies in my Post and get Create and Edit action methods. So I have created a private method at the end of my controller class as follow:-I have certain code with in the same controller