suppose i have two different asp.net core project in one solution.
main solution name: ABC_Demo.
sub project: ABC_Demo.Data.
sub Project: ABC_Demo.WebApp.
in WebApp project store one json file name: language.json
language.json
- {
- "en": [
- {
- "KeyName": "Common.Active",
- "Value": "Active"
- },
- {
- "KeyName": "Common.InActive",
- "Value": "Inactive"
- },
- {
- "KeyName": "Common.Action",
- "Value": "Action"
- },
- {
- "KeyName": "Common.IsActive",
- "Value": "Is Active"
- }
- ]
- }
-
Now i create one function method in ABC_Demo.Data in and i want to get data where i pass "KeyName" and i want to get "Value".
ex... if i pass "Common.IsActive" then i will get Is Active.
i want to suggestion for this in asp.net core.