SyntaxFix
Write A Post
Hire A Developer
Questions
If you don't want to convert.Just use;
bool _status = status == "1" ? true : false;
Perhaps you will return the values as you want.