model - MVC 5 difficult to Routing RedirectToAction. Not Open View -


i have problem:

i have homecontroller call redirecttoaction("index", "userslist");

and work, when call action link (on index):

@model ienumerable<whatsappsender.models.userslist> ... ... <p>     @html.actionlink("create new", "create", "userslist") </p>   // get: userslist/create  public actionresult create() {   ___ ok ___ arrive in point     return view(); } 

not open create view, but

if call directly http:// localhost:2250 / userslist/create

it's work ..............

than :) :) don't know

try use href in paragraph

<a href="@url.action("create","userslist")">create new</a> 

Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -