private string _currentUserId = null !; // Must be initialised as the 1st step in each test public User_Update_Propagates_To_User_References_Tests() { _userCommandService = Container.GetService <IUserCommandService>() !; _backlogCommandService = Container.GetService <IBacklogItemCommandService>() !; _backlogQueryService = Container.GetService <IBacklogItemByIdQueryService>() !; _commentCommandService = Container.GetService <IBacklogItemCommentCommandService>() !; }
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_Modified_History_Tests() { _commandService = Container.GetService <IBacklogItemCommandService>() !; _commentCommandService = Container.GetService <IBacklogItemCommentCommandService>() !; _queryByIdService = Container.GetService <IBacklogItemByIdQueryService>() !; _userCmdService = Container.GetService <IUserCommandService>() !; }
public QueuesController( IUserQueryService userQueryService, IUserCommandService userCommandService) { _userQueryService = userQueryService; _userCommandService = userCommandService; }
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_Basic_Filters_Tests() { _commandService = Container.GetService <IBacklogItemCommandService>() !; _queryService = Container.GetService <IBacklogItemListQueryService>() !; _userCommandService = Container.GetService <IUserCommandService>() !; _currentUserId = CreateSampleUser().Result.Id !; }
public UsersController( IAgencyQueryService agencyQueryService, IUserCommandService userCommandService, IUserQueryService userQueryService) { _agencyQueryService = agencyQueryService; _userQueryService = userQueryService; _userCommandService = userCommandService; }
public UsersController(IUserReadService userReadService, IUserCommandService userCommandService, IVacancyCommandService vacancyCommandService, IVacancyReadService vacancyReadService, ITokenHelper tokenHelper, IOptionReadService optionReadService) { this.userReadService = userReadService; this.userCommandService = userCommandService; this.vacancyReadService = vacancyReadService; this.vacancyCommandService = vacancyCommandService; this.tokenHelper = tokenHelper; this.optionReadService = optionReadService; }
public SeededUsers(IUserCommandService userService) { _userService = userService; _userFaker = new AutoFaker <UserAddUpdRequest>() .RuleFor(fake => fake.AvatarUrl, fake => null) .RuleFor(fake => fake.FirstName, fake => fake.Name.FirstName()) .RuleFor(fake => fake.LastName, fake => fake.Name.LastName()) .RuleFor(fake => fake.Email, (_, p) => $"{p.FirstName}.{p.LastName}@yabt.com"); }
public WorkspacesController(iChatContext context, IUserQueryService userQueryService, IUserCommandService userCommandService, IChannelCommandService channelCommandService, IConversationCommandService conversationCommandService, IWorkspaceCommandService workspaceCommandService) { _userQueryService = userQueryService; _userCommandService = userCommandService; _channelCommandService = channelCommandService; _conversationCommandService = conversationCommandService; _workspaceCommandService = workspaceCommandService; }
public UsersController(IUserQueryService userQueryService, IUserCommandService userCommandService, IWorkspaceQueryService workspaceService, IChannelCommandService channelCommandService, IConversationCommandService conversationCommandService, ICacheService cacheService) { _userQueryService = userQueryService; _userCommandService = userCommandService; _workspaceQueryService = workspaceService; _channelCommandService = channelCommandService; _conversationCommandService = conversationCommandService; _cacheService = cacheService; }
public AddUserCommandHandler(IUserCommandService userCommandService) { this.userCommandService = userCommandService; }
public UserManagement(IUserCommandService commandService, IUserQueryService queryService) { this.CommandService = commandService; this.QueryService = queryService; }
public Task <ActionResult <UserReference> > Create([FromServices] IUserCommandService service, UserAddUpdRequest dto) => service.Create(dto).ToActionResultOfT();
public RegisterController(IUserCommandService userCommandService) { _userCommandService = userCommandService; }
public Task <ActionResult <UserReference> > Update([FromServices] IUserCommandService service, [FromRoute] string id, UserAddUpdRequest dto ) => service.Update(id, dto).ToActionResultOfT();
public RegistrationForm() { InitializeComponent(); _service = ServiceContainer.Get <IUserCommandService>(); }
public ProjectCommandService(ICompanyRepository companyRepository, IUserCommandService userCommandService, UserManager <User> userManager) { _companyRepository = companyRepository; _userCommandService = userCommandService; _userManager = userManager; }
public AppController(ICacheService cacheService, IUserQueryService userQueryService, IUserCommandService userCommandService) { _cacheService = cacheService; _userQueryService = userQueryService; _userCommandService = userCommandService; }
public User_Crud_Tests() { _userCommandService = Container.GetService <IUserCommandService>() !; _userQueryService = Container.GetService <IUserQueryService>() !; }
public EraseUserDataCommandHandler(IUserCommandService userCommandService) { this.userCommandService = userCommandService; }
public AuthUserRequestHandler(IUserCommandService userCommandService) { this.userCommandService = userCommandService; }
public UpdatePasswordCommandHandler(IUserCommandService userCommandService, ILogger logger) { this.userCommandService = userCommandService; this.logger = logger; }
public BacklogItem_List_Query_By_CurrentUser_Tests() { _commandService = Container.GetService <IBacklogItemCommandService>() !; _queryService = Container.GetService <IBacklogItemListQueryService>() !; _userCmdService = Container.GetService <IUserCommandService>() !; }
public Task <ActionResult <UserReference> > Delete([FromServices] IUserCommandService service, [FromRoute] string id ) => service.Delete(id).ToActionResultOfT();
public async Task <string> Add([GraphQLSession] AuthSession session, [Service] IUserCommandService service, CreateUserVm model) { return(Ok(await service.Create(session.CompanyId, model))); }
public async Task <string> Activate([GraphQLSession] AuthSession session, [Service] IUserCommandService service, string id) { await service.Activate(session.CompanyId, id); return(Ok()); }
public UserController(IUserCommandService commandService, IUserQueryService queryService) { CommandService = commandService; QueryService = queryService; }
public LoginForm() { InitializeComponent(); _userService = ServiceContainer.Get <IUserCommandService>(); }