public void SaveSettings(List <Int32> idUsers) { long idCall = View.IdCall; if (UserContext.isAnonymous) { View.DisplaySessionTimeout(); } else { List <BaseForPaperPersonAssignment> pAssignments = CallService.AddPersonAssignments(idCall, idUsers); if (pAssignments != null && pAssignments.Any()) { View.DisplayUserAssignmentsAdded(); LoadAssignments(idCall, pAssignments.Select(a => a.AssignedTo.Id).ToList()); } else if (pAssignments != null) { View.DisplaySaveErrors(true); } } }