Here i give manually user data. but I want to userdata comes from database. How to connect db in .net core
- private List
users = new List() - {
- new User{
- EmployeeId=24,EmployeeName="selvi",Password="111111"}
- };
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sachin SinghPosted Jun 2, 2021, 8:36 AM
Asma KhalidPosted Jun 2, 2021, 7:02 AM