Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Example of get by ID - API #11141


User avatar
0
Pablo created

Hello,

I'm still new to this great framework. I'm using the latest version of ASP.net Zero and by following the tutorials I managed to create most of the CRUD components of the API. However, I'm a bit confused about how to create the API to retrieve a single record by ID. I couldn't find an example of this in the documentation. I tried to read other external documents but most point to using a controller, but in ASP.net Zero, I understand Application Services are used along with DTO's.

I would appreciate it if you can point me in the right direction on how I can achieve the above. An actual example would be really helpfull.

Thanks in advance!


2 Answer(s)