protected override async Task <IEnumerable <Guid> > FindAsync(PointOfSaleIdParameters args) => (await _posService.BrowseAuthorizedUsers(args.PointOfSaleId)).Items.Select(i => i.UserId);
public async Task <ActionResult <IPagedResult <PointOfSaleAuthorizedUser> > > BrowseAuthorizedUsers(Guid id, [FromQuery] BrowsePointOfSaleAuthorizedUsers query) => Collection(await _pointsOfSaleService.BrowseAuthorizedUsers(id, query));