Reputation: 1
I have a action in controller which is returning a class which hold only a message like
public Result UpdateTestCaseExecution(string appSecret, string appKey)
{
Result result = new Result();
try.....
}
problem is in routing this is the route i've made but its not getting hit
routes.MapRoute(
name: "UpdateTestCaseExecution",
url: "{controller}/{action}/{appsecret}/{appkey}",
defaults: new { controller = "Dynamic", action = "UpdateTestCaseExecution", appsecret = UrlParameter.Optional, appkey = UrlParameter.Optional }
);
Upvotes: 0
Views: 32