示例#1
0
        public async Task CreateAsync()
        {
            Login(_testData.UserId1);

            var newMonitor = new CreateMonitorDto
            {
                Name     = "monitor-name",
                Url      = "monitor-url",
                Interval = 1
            };

            await _monitorAppService.CreateAsync(newMonitor);
        }
示例#2
0
 public async Task CreateAsync(CreateMonitorDto input)
 {
     await _monitorAppService.CreateAsync(input);
 }