public RoomPresent(Guid id, string name, int userCount, PrivacyRoomType privacy, int peopleCountLimit) { Id = id; Name = name; UsersCount = userCount; PrivacyType = privacy; MaxPeopleCount = peopleCountLimit; }
public RoomPresent(Guid id, string name, int userCount, PrivacyRoomType privacy, int peopleCountLimit, IEnumerable <PersonPresent> users) { Id = id; Name = name; UsersCount = userCount; PrivacyType = privacy; MaxPeopleCount = peopleCountLimit; Users = users.ToList(); }