'in asp.net mvc , Stored procedure doesn't return RedirectToAction to the Desired view

in asp.net mvc ,I Have Changed individual stored procedure(SP) for crud to all of them in single SP using IF(),now it doesn't return RedirectToAction to the Desired view



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source