Esempio n. 1
0
        public string ConfArtist()
        {
            int artist_id = 0;

            if (Request.QueryString["AR_ID"] != null)
            {
                Int32.TryParse(Request.QueryString["AR_ID"], out artist_id);
                hypster_tv_DAL.artistManagement artistManager = new hypster_tv_DAL.artistManagement();
                artistManager.ConfirmArtist(artist_id);
            }
            return("OK");
        }
Esempio n. 2
0
 public ActionResult Confirm_Artist_Names()
 {
     if (Session["Roles"] != null && Session["Roles"].Equals("Admin"))
     {
         hypster_tv_DAL.artistManagement      artistManager = new hypster_tv_DAL.artistManagement();
         List <hypster_tv_DAL.ArtistCategory> artist_list   = new List <hypster_tv_DAL.ArtistCategory>();
         artist_list = artistManager.GetTopNotConfirmedArtists();
         return(View(artist_list));
     }
     else
     {
         return(RedirectPermanent("/home/"));
     }
 }