Exemplo n.º 1
0
 public ActionResult Save()
 {
     if (Hudba.InsertIntoDB(Hudba.GetSongTitlesByArtist()))
     {
         ViewBag.ResultState = "successful";
     }
     else
     {
         ViewBag.ResultState = "failed";
     }
     return(View());
 }
Exemplo n.º 2
0
        public ActionResult Index()
        {
            List <SongItem> temp = Hudba.GetSongTitlesByArtist();

            return(View(temp));
        }