public async Task <IActionResult> GetMany() { return(Ok(await _chartRepository.GetAllAsync(isRequiredDiscriminator: true))); }
public async Task <IEnumerable <Chart> > GetByAppId(string appId) { return(await _chartRepository.GetAllAsync(a => a.AppId == appId, isRequiredDiscriminator : true)); }