示例#1
0
 public GroupController(
     IGroupQueryService groupQueryService,
     IGroupCommandService groupCommandService,
     ISubgroupQueryService subgroupQueryService)
 {
     _groupQueryService    = groupQueryService;
     _groupCommandService  = groupCommandService;
     _subgroupQueryService = subgroupQueryService;
 }
示例#2
0
 public GroupCommandService(
     DbContextScopeFactory dbContextScopeFactory,
     IUserService userService,
     IGroupQueryService groupQueryService, ISubgroupQueryService subgroupQueryService)
 {
     _userService           = userService;
     _groupQueryService     = groupQueryService;
     _subgroupQueryService  = subgroupQueryService;
     _dbContextScopeFactory = dbContextScopeFactory;
 }
示例#3
0
 /// <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;
 }
示例#5
0
 public MembersController(IGroupService groupService, IGroupQueryService queryService)
 {
     this.groupService = groupService;
     this.queryService = queryService;
 }
示例#6
0
 public MembersController()
 {
     this.groupService = new GroupService();
     this.queryService = new GroupQueryService();
 }