how to return from switch case. There are any references about how to return from switch case in here. you can look below.