forum

Home / DeveloperSection / Forums / accessing controller action

accessing controller action

Anonymous User 1173 30-Apr-2018

I have a controller and action as shown below. how can i make login action as public means all can access login page


[Authorize]
public class AccountController : Controller {

  public ActionResult Login() {
    // ...
  }


  [HttpPost]
  public JsonResult JsonLogin(LoginModel model, string returnUrl) {
    // ...
  }
}

Updated on 30-Apr-2018
I am a content writter !

Can you answer this question?


Answer

0 Answers

Liked By