예제 #1
0
        // GET: Track/Create
        public ActionResult AddTrack()
        {
            var form = new TrackAddForm();

            form.GenreList = new SelectList(m.GenreGetAll(), "Id", "Name");

            return(View(form));
        }
예제 #2
0
 // GET: Genre
 public ActionResult Index()
 {
     return(View(m.GenreGetAll()));
 }