diff --git a/IRaCIS.Core.Application/Service/Document/EmailSendService.cs b/IRaCIS.Core.Application/Service/Document/EmailSendService.cs index 4dbef0741..e3569f5e9 100644 --- a/IRaCIS.Core.Application/Service/Document/EmailSendService.cs +++ b/IRaCIS.Core.Application/Service/Document/EmailSendService.cs @@ -333,7 +333,7 @@ namespace IRaCIS.Core.Application.Service if(onlyToUserId!=null) { - toUserList.Where(t=>t.UserId == onlyToUserId).ToList(); + toUserList= toUserList.Where(t=>t.UserId == onlyToUserId).ToList(); } if (toUserList.Count() == 0)