예제 #1
0
 public IEnumerable <ErrorPoco> GetMatchingErrorItems(int id)
 {
     return(_repo.GetMatchingErrorItems(id).Select(GetErrorItemPoco));
 }
예제 #2
0
 public async Task <IEnumerable <ErrorPoco> > GetMatchingErrorItems(string id)
 {
     return((await _repo.GetMatchingErrorItems(id)).Select(GetErrorItemPoco));
 }