public BacklogItem_List_Query_By_CustomField_Tests() { _commandService = Container.GetService <IBacklogItemCommandService>() !; _queryService = Container.GetService <IBacklogItemListQueryService>() !; _customFieldCommandService = Container.GetService <ICustomFieldCommandService>() !; _userCmdService = Container.GetService <IUserCommandService>() !; }
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();
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>() !; }