Пример #1
0
 public BacklogItem_List_Query_By_CustomField_Tests()
 {
     _commandService            = Container.GetService <IBacklogItemCommandService>() !;
     _queryService              = Container.GetService <IBacklogItemListQueryService>() !;
     _customFieldCommandService = Container.GetService <ICustomFieldCommandService>() !;
     _userCmdService            = Container.GetService <IUserCommandService>() !;
 }
 public BacklogItem_List_Query_By_Mentioned_User_Tests()
 {
     _userCommandService        = Container.GetService <IUserCommandService>() !;
     _backlogItemCommandService = Container.GetService <IBacklogItemCommandService>() !;
     _commentCommandService     = Container.GetService <IBacklogItemCommentCommandService>() !;
     _queryBacklogItemService   = Container.GetService <IBacklogItemListQueryService>() !;
 }
        public BacklogItem_List_Query_Basic_Filters_Tests()
        {
            _commandService     = Container.GetService <IBacklogItemCommandService>() !;
            _queryService       = Container.GetService <IBacklogItemListQueryService>() !;
            _userCommandService = Container.GetService <IUserCommandService>() !;

            _currentUserId = CreateSampleUser().Result.Id !;
        }
Пример #4
0
 public Task <ListResponse <BacklogItemListGetResponse> > GetList([FromServices] IBacklogItemListQueryService service,
                                                                  [FromQuery] BacklogItemListGetRequest dto)
 => service.GetList(dto);
Пример #5
0
 public BacklogItem_List_Query_By_Tags_Tests()
 {
     _commandService = Container.GetService <IBacklogItemCommandService>() !;
     _queryService   = Container.GetService <IBacklogItemListQueryService>() !;
 }
Пример #6
0
 public BacklogItem_List_Query_By_CurrentUser_Tests()
 {
     _commandService = Container.GetService <IBacklogItemCommandService>() !;
     _queryService   = Container.GetService <IBacklogItemListQueryService>() !;
     _userCmdService = Container.GetService <IUserCommandService>() !;
 }
Пример #7
0
 public Task <BacklogItemTagListGetResponse[]> GetTags([FromServices] IBacklogItemListQueryService service,
                                                       [FromQuery] BacklogItemTagListGetRequest dto)
 => service.GetTags(dto);