Beispiel #1
0
        public async Task GetAsync()
        {
            Login(_testData.UserId1);

            var monitor = await _monitorAppService.GetAsync(_testData.MonitorId1, new GetMonitorRequestInput());

            monitor.ShouldNotBeNull();
            monitor.Id.ShouldBe(_testData.MonitorId1);
            monitor.Name.ShouldNotBeNullOrWhiteSpace();
            monitor.Name.ShouldBe(_testData.MonitorName1);
        }
        public async Task <MonitorWithDetailsDto> GetAsync(Guid id, GetMonitorRequestInput input)
        {
            var monitor = await _monitorAppService.GetAsync(id, input);

            return(monitor);
        }