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