C#C
C#16mo ago
Alex

help me find correct response model

Hi, here is my database schema for a shop. I want to build a page to display product details. Use can choose between attributes and based on their choice I want to display price and quantity in stock (select variant of product). Some attributes might be unavailable. What's response model (dto) should I create and return as a response for this page to make less calculations on the client (for example group attribute value)?
example.jpg
dg.jpg
Was this page helpful?