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

            EditingMonitor = new UpdateMonitorDto
            {
                Interval = 1
            };

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