public TodoService(IEventsClient eventsClient, ITasksClient tasksClient, ILogger <TodoService> logger) { _eventsClient = eventsClient; _tasksClient = tasksClient; _logger = logger; }
public TasksTests( ICreate create, IDefaultRequestHeadersService defaultRequestHeadersService, ITasksClient tasksClient) { _create = create; _defaultRequestHeadersService = defaultRequestHeadersService; _tasksClient = tasksClient; }
public TaskBuilder(IDefaultRequestHeadersService defaultRequestHeadersService, ITasksClient tasksClient) { _tasksClient = tasksClient; _defaultRequestHeadersService = defaultRequestHeadersService; _task = new CrmTask { Id = Guid.NewGuid(), Name = "Test".WithGuid(), Description = "Test".WithGuid(), Result = "Test".WithGuid(), Priority = TaskPriority.Medium, StartDateTime = DateTime.UtcNow, EndDateTime = DateTime.UtcNow.AddDays(1), DeadLineDateTime = null, IsDeleted = false }; }