Exemple #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>() !;
 }
Exemple #2
0
 public CustomField_Crud_Tests()
 {
     _commandService = Container.GetService <ICustomFieldCommandService>() !;
     _queryService   = Container.GetService <ICustomFieldByIdQueryService>() !;
 }
 public Task <ActionResult <CustomFieldReferenceDto> > Delete([FromServices] ICustomFieldCommandService service,
                                                              [FromRoute] string id)
 => service.Delete(id).ToActionResultOfT();
 public Task <ActionResult <CustomFieldReferenceDto> > Update([FromServices] ICustomFieldCommandService service,
                                                              [FromRoute] string id,
                                                              CustomFieldUpdateRequest dto)
 => service.Update(id, dto).ToActionResultOfT();
 public Task <ActionResult <CustomFieldReferenceDto> > Create([FromServices] ICustomFieldCommandService service,
                                                              CustomFieldAddRequest dto)
 => service.Create(dto).ToActionResultOfT();
Exemple #6
0
 public CustomField_Delete_Updates_its_References_Tests()
 {
     _commandService       = Container.GetService <ICustomFieldCommandService>() !;
     _commandTicketService = Container.GetService <IBacklogItemCommandService>() !;
     _queryTicketService   = Container.GetService <IBacklogItemByIdQueryService>() !;
 }
 public CustomField_Query_Tests()
 {
     _commandService = Container.GetService <ICustomFieldCommandService>() !;
     _queryService   = Container.GetService <ICustomFieldListQueryService>() !;
 }