public async Task <IActionResult> GetListAsync() { IDataResult <IList <DataSource> > result = await _iDataSourceService.GetEntityValuesAsync(); if (result.Success) { return(Ok(result.Data)); } return(BadRequest(result.Message)); }
public async Task <IActionResult> GetListAsync() { IDataResult <IList <DataSource> > result = await _iDataSourceService.GetEntityValuesAsync(); if (result.Success) { return(Ok(result.Data)); } return(BadRequest(result.Message)); }