Esempio n. 1
0
        public async Task <int> InsertProgram(List <string> processes)
        {
            var effectedRows = await _monitorRepository.InsertProgram(processes);

            if (effectedRows == 0)
            {
                throw new InternalException(603, "No field/line was modified.");
            }
            return(effectedRows);
        }