Exemplo n.º 1
0
        public async Task <IActionResult> GetAllErrors()
        {
            var songs = await _songRepository.GetAllErrorsFromArchive();

            var movies = await _movieRepository.GetAllErrorsFromArchive();

            songs.AddRange(movies);
            return(Json(songs));
        }