Skip to content

Commit

Permalink
Add productusergroups to get products (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Guldborg authored Nov 30, 2023
1 parent bae327e commit 0789c28
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ private static ProductResponse MapProductToDto(Product product)
Description = product.Description,
NumberOfTickets = product.NumberOfTickets,
Price = product.Price,
IsPerk = product.IsPerk()
IsPerk = product.IsPerk(),
AllowedUserGroups = product.ProductUserGroup.Select(e => e.UserGroup)
};
}
}
Expand Down

0 comments on commit 0789c28

Please sign in to comment.