asp.net mvc - Html.Action link returns 404 error after deployment -


i want call action controller on click of actionlink. works perfect in local doesn't work after deployment (results 404 error). please on this.

view:

<%:html.actionlink("activate", "representativeaccessactivate","adminnew", new { id = uselist.email_user_name }, new { onclick = "return confirm('are sure want activate user?')" ,@class="view"}) %> 

action :

    [httpget]     public actionresult representativeaccessactivate(string id)     {         framesbusinessservice.framesbusinessseviceclient client = new framesbusinessservice.framesbusinessseviceclient();         client.ser_updaterepresentativestatus(id, true, "salesrepresentative");         client.close();         return redirecttoaction("representative");     } 


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -