public void OnUpdateMessagesTags(int tenant, string user_id, int[] tag_ids, int[] message_ids) { foreach (var tag_id in tag_ids) { mailBoxManager.SetMessagesTag(tenant, user_id, tag_id, message_ids); } }