コード例 #1
0
        public ActionResult FiltrMusicGenre(string City, string County, string Province, string MusicGenreName)
        {
            HomePageViewModel model = SetHomePageModel(City, County, Province);

            model.SetListCollections();
            model.SortBandsRecordLists(MusicGenreName);
            model.SortSongLists(MusicGenreName);
            model.AddBandsRecordIfNecessary();
            model.AddSongsIfNecessary();
            ReplaceListsInModel(ref model);
            return(View("Index", model));
        }