Hi! i'm new in asp.net mvc, i made a controller name gallery, view name index, i also made a another view name picture gallery inside the gallery controller, In index view i made a button like folder , when i click that button i go to the gallery picture view, but there is problem when i click it says Resource cannot be found. Here is my code of gallery view
<div class="container" style="padding:100px"> <div class="row"> <div class="col-lg-9"> <a href="@Url.Action("PictureGallery", "Gallery")" class="btn btn-primary" style="width:200px; height:200px"></a> </div> </div> </div>
public class GalleryController : Controller { public ActionResult Index() { return View(); } public ActionResult PictureGallery() { return View(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)