public GroupController( IGroupQueryService groupQueryService, IGroupCommandService groupCommandService, ISubgroupQueryService subgroupQueryService) { _groupQueryService = groupQueryService; _groupCommandService = groupCommandService; _subgroupQueryService = subgroupQueryService; }
public GroupCommandService( DbContextScopeFactory dbContextScopeFactory, IUserService userService, IGroupQueryService groupQueryService, ISubgroupQueryService subgroupQueryService) { _userService = userService; _groupQueryService = groupQueryService; _subgroupQueryService = subgroupQueryService; _dbContextScopeFactory = dbContextScopeFactory; }
/// <summary> /// コンストラクタ。 /// </summary> /// <param name="groupQueryService"><see cref="IGroupQueryService"/></param> /// <param name="groupRepository"><see cref="IGroupRepository"/></param> /// <param name="groupPersonRepository"><see cref="IGroupPersonRepository"/></param> /// <param name="tagRepository"><see cref="ITagRepository"/></param> public GroupService( IGroupQueryService groupQueryService, IGroupRepository groupRepository, IGroupPersonRepository groupPersonRepository, ITagRepository tagRepository) { _groupQueryService = groupQueryService; _groupRepository = groupRepository; _groupPersonRepository = groupPersonRepository; _tagRepository = tagRepository; }
/// <summary> /// コンストラクタ /// </summary> /// <param name="mapper"><see cref="IMapper"/></param> /// <param name="groupService"><see cref="IGroupService"/></param> /// <param name="groupQueryService"><see cref="IGroupQueryService"/></param> /// <param name="personService"><see cref="IPersonService"/></param> public GroupsController( IMapper mapper, IGroupService groupService, IGroupQueryService groupQueryService, IPersonService personService) { _mapper = mapper; _groupService = groupService; _groupQueryService = groupQueryService; _personService = personService; }
public MembersController(IGroupService groupService, IGroupQueryService queryService) { this.groupService = groupService; this.queryService = queryService; }
public MembersController() { this.groupService = new GroupService(); this.queryService = new GroupQueryService(); }