Пример #1
0
        public async Task Predict()
        {
            if (Sources == null)
            {
                Sources = await controls.GetSources();
            }

            foreach (var source in Sources)
            {
                await PredictBySource(GetLastPrediction(source.Id), source);
            }
        }
 public async Task <ActionResult <List <StreamSource> > > Sources()
 {
     return(await controls.GetSources());
 }