protected virtual List <string> GetRecipients(int emailId, int type) { return(_RecipientRepository .GetMany(p => p.EmailId == emailId && p.Type == type) .Select(p => p.Email) .ToList()); }