Esempio n. 1
0
 protected override async Task OnInitializedAsync()
 {
     try
     {
         InitializeData.GetSendSlackDropdown();
         InitializeData.GetSlackChannelDropdown();
         InitializeData.GetSendMailDropdown();
         InitializeData.GetDbSchemaDropdown();
         InitializeData.GetStatusDropdown();
         await GetData();
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
     }
 }
 protected override void OnInitialized()
 {
     try
     {
         InitializeData.GetDayChecklist();
         InitializeData.GetMonthChecklist();
         InitializeData.GetHourChecklist();
         InitializeData.GetMinuteChecklist();
         InitializeData.GetDbSchemaDropdown();
         InitializeData.GetSendMailDropdown();
         InitializeData.GetSendSlackDropdown();
         InitializeData.GetSlackChannelDropdown();
         InitializeData.GetStatusDropdown();
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
     }
 }