Sunday, August 27, 2023

error: update_ref failed for ref 'refs/remotes/origin/master': cannot lock ref 'refs/remotes/origin/master': unable to resolve reference 'refs/remotes/origin/master': reference broken

 Solution :

rm .git/refs/remotes/origin/master
git fetch

Tuesday, August 1, 2023

Interview

 1. We have millions of records in database. Write a optimized query to fetch data with where clause for name.

2. Write a linq query to fetch data from two databases.

3.How to pass data from controller to view?

4. How to imlement transaction in web api?

Followers

Link