Пример #1
0
        public async Task <Show> GetById(int id)
        {
            try
            {
                return(await _showsRepository.GetById(id));
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex);
            }

            return(null);
        }