Example #1
0
        public async Task <bool> UpdateFollowedPrograms(int userId, Dictionary <int, int> programsToUpdate)
        {
            var result = await _monitorRepository.UpdateFollowedPrograms(userId, programsToUpdate);

            if (result == false)
            {
                throw new InternalException(607, "Update failed.");
            }

            return(result);
        }