I want to call a action from a controller on click of actionlink. It works perfect in my local but it doesn't work after deployment (results 404 Error). Please someone help on this.
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");
}