public Monitors() { NewMonitor = new CreateMonitorDto { Interval = 1 }; EditingMonitor = new UpdateMonitorDto { Interval = 1 }; Filter = new GetMonitorsRequestInput { MaxResultCount = PageSize, SkipCount = CurrentPage * PageSize, Sorting = CurrentSorting }; }
public async Task UpdateAsync(Guid id, UpdateMonitorDto input) { await _monitorAppService.UpdateAsync(id, input); }