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)
-
0
Hi @Pablo,
The default template contains several samples for this use case. For example you can take a look at https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Application/Authorization/Roles/RoleAppService.cs#L63
I assume you already added your GitHub user on https://aspnetzero.com/LicenseManagement page.
-
0
Hi Ismcagdas,
Thank you very much for sharing that with me. It helps a lot.
Thanks for your great support.