public Monitors() { NewMonitor = new CreateMonitorDto { Interval = 1 }; EditingMonitor = new UpdateMonitorDto { Interval = 1 }; Filter = new GetMonitorsRequestInput { MaxResultCount = PageSize, SkipCount = CurrentPage * PageSize, Sorting = CurrentSorting }; }
private void OpenCreateMonitorModal() { NewMonitor = new CreateMonitorDto(); NewMonitor.Interval = 1; CreateMonitorModal.Show(); }
public async Task CreateAsync(CreateMonitorDto input) { await _monitorAppService.CreateAsync(input); }