public async Task <List <string> > GetAllPrograms() { var result = await _monitorRepository.GetAllPrograms(); if (result.Count == 0) { throw new InternalException(613, "No programs were found."); } return(result); }