0
wai created
- How to make data displayed, for "Order" indicated OrganizationUnits?
- How to make sure that the "Orders" are only robbed of the user he logged in to?
- ABP Framework version: v2.9.0
- UI type: MVC
- Tiered (MVC) or Identity Server Seperated (Angular): no
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
9 Answer(s)
-
0
hello @wai,
I would consider adding a method to repository something like
GetOrdersOfTheCurrentUsersAsyncthen calling it on application layer. Sample is here: https://github.com/abpframework/abp-samples/tree/master/OrganizationUnitSample#filter-entities-for-a-userMarkdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
hi @wai, as I understand from your question you don't know basics of the application. you can create an application service and call the domain services in this new service. all application services are being exposed as WebAPIs by default. you can check Swagger to see how it can be called via JavaScript. also see https://docs.abp.io/en/abp/latest/Application-Services
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)