You need to consult with a business attorney over the unfortunate situation that you are in and provide him or her of all bylaws of the corporation that you were in including any amendments to see if your dismissal was properly done or not as well as to see what legal recourse you may have.