Beispiel #1
0
        /// <summary>
        /// Notifies the User that they've already rated the Album the tried to rate.
        /// </summary>
        /// <returns>Rendered view to the response.</returns>
        public IActionResult AlbumAlreadyRated(string error)
        {
            var viewModel = new FailMessageViewModel();

            viewModel.Error = error;
            return(this.View(viewModel));;
        }
        /// <summary>
        /// Notifies the User that the Genre they tried to add to the database is already in it.
        /// </summary>
        /// <returns>Rendered view to the response.</returns>
        public IActionResult GenreAlreadyAdded(string error)
        {
            var viewModel = new FailMessageViewModel();

            viewModel.Error = error;
            return(this.View(viewModel));
        }