Hi Bilal, We need to see more code to see how you are returning data from server.
But one thing I noticed, is the "result.items". Maybe it should be "result.data.items".
Bilal
Hi Bilal,
You need to use something like this:
employeeService.getEmployees({}).then(function (result) {
vm.employees = result.items;
});
You can also add .finally() function in case you want for example to signal loading is done.
Hope this helps, Bilal
Great!
But still first time application loads, who asks the SettingsManager to save any settings in DB? I am sure there are some settings set by SettingsProviders in different modules.
There might be something missing for me, dunno.
Thanks again
Thanks @JeffHM I will check that.
Thanks Ismail always :)
Maybe I was mistaken, a refresh is needed and it works now.
Although in the texts.cshtnl, the languages array is set to static values in the controller and it shows without problems, however, the source names because they are loaded from db, a refresh was used.
Thanks
Very true Ismail, this is what I've concluded that no need to use any of the filters, but even with IMayHaveTenant would add a filter of TenantId.
Thanks @JeffHM :-)
By the way, the data filter you employee, is it something supported by EF? Any reference on that pls.
Thanks
Thanks @JeffMH. i will follow the steps and see how it goes.
So, let me share with you steps:
Is that it?
Thanks
Thanks for you.