public async Task <string> ChangeSymptoms([FromBody] List <Symptom> editList) { if (editList == null || editList.Count == 0) { return(ControllersServices.ErrorMessage("List is empty")); } await _context.AddOrEditSymptomsRange(editList); return("true"); }