private async Task RefreshData() { var allSchedulers = await scheduleManager.GetAllSchedulerItems(); schedulerItems = allSchedulers.Where(si => si.IsActive); recipients = await userManager.GetAllUsersAsync(); }
public async Task <IActionResult> GetAll() { var schedulerItems = await scheduleManager.GetAllSchedulerItems(); return(Ok(schedulerItems)); }