public async Task <ActionResult <IEnumerable <OrderItemViewModel> > > Get() { var list = await _collectionGetter.GetAsync(null, x => x.Product, x => x.Customer); return(Ok(list)); }
public async Task <ActionResult <IEnumerable <Customer> > > Get() { var list = await _collectionGetter.GetAsync(null); return(Ok(list)); }