コード例 #1
0
        public Collaborator AddCollaborator(Collaborator collab)
        {
            collab.CollaboratorId = Collaborators.Any() ? Collaborators.Max(c => c.CollaboratorId) + 1 : 1;
            Collaborators.Add(collab);

            return(collab);
        }