public GroupResource(IEntityById entityById, IUpdateGroupCommand updateGroupCommand, IDeleteGroupCommand deleteGroupCommand, ITopicsByGroup topicsByGroup, IGroupByName groupByName) { this.entityById = entityById; this.updateGroupCommand = updateGroupCommand; this.deleteGroupCommand = deleteGroupCommand; this.topicsByGroup = topicsByGroup; this.groupByName = groupByName; }