public async Task CreateAsync() { Login(_testData.UserId1); var newMonitor = new CreateMonitorDto { Name = "monitor-name", Url = "monitor-url", Interval = 1 }; await _monitorAppService.CreateAsync(newMonitor); }
public async Task CreateAsync(CreateMonitorDto input) { await _monitorAppService.CreateAsync(input); }