Example #1
0
        // GET ALL
        // ======================================================================================================================

        // GET ALL ANIME V2 => VERSIONING

        public async Task <List <AllAnimeDTO> > GetAnimesV2()
        {
            try
            {
                return(_mapper.Map <List <AllAnimeDTO> >(await _animeRepository.GetAnimes()));
            }
            catch (System.Exception ex)
            {
                throw ex;
            }
        }