/// <summary> /// Builds and returns the Group object. /// </summary> /// <returns>the Group object</returns> public Group Build() { Group group = new Group { Id = this.id, Name = this.name, Description = this.description, OwnerId = this.ownerId }; return group; }
/// <summary> /// Builds and returns the Group object /// </summary> /// <returns> the Group object built. </returns> public Group Build() { Group group = new Group { Name = this.name, Description = this.description, Members = this.members }; return group; }