Exemplo n.º 1
0
        public async Task <string> DeleteSymptoms([FromBody] List <int> deleteList)
        {
            if (deleteList == null || deleteList.Count == 0)
            {
                return(ControllersServices.ErrorMessage("List is empty"));
            }

            await _context.DeleteSymptomsAsync(deleteList);

            return("true");
        }