示例#1
0
        public Monitors()
        {
            NewMonitor = new CreateMonitorDto
            {
                Interval = 1
            };

            EditingMonitor = new UpdateMonitorDto
            {
                Interval = 1
            };

            Filter = new GetMonitorsRequestInput
            {
                MaxResultCount = PageSize,
                SkipCount      = CurrentPage * PageSize,
                Sorting        = CurrentSorting
            };
        }
示例#2
0
 public async Task UpdateAsync(Guid id, UpdateMonitorDto input)
 {
     await _monitorAppService.UpdateAsync(id, input);
 }