0
Katherine created
Hi, could you provide an example/guideline on how to load data from entity framework in Index.cshtml.cs. I'm trying to implement a googlemap in the index.cshtml.cs, I have no idea on how to load the data from abpframework and bind to googlemap.
ABP Framework version: v3.0.5 Database: Entity Framework Core UI type: MVC/Razor Pages Tiered (MVC): No Tiered
2 Answer(s)
-
1
Hi,
Do you mean you want to get data from database and bind to googlemap? You just create an application sevice and use repository to get data.
-
0
there are many pages that retrieve data and show on the page. for example, you can see the roles page. https://github.com/abpframework/abp/tree/dev/modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Roles