public async Task OnGetAsync() { // Get response var chartResponse = await _chartService.GetAllCharts(); // Build Charts = ChartBuilder.BuildCharts(chartResponse); }
public async Task <IActionResult> GetAllCharts(string currencyId = null, IndicatorType?indicatorType = null, string indicatorId = null, string userId = null) { // Reponse var response = await _chartService.GetAllCharts(currencyId, indicatorType, indicatorId, userId); // Return return(Ok(response)); }