-2

Null Exception Error

Designation Repository class

anum ali
  • 1
  • 1
  • 1
    Don't put errors and code into images. Please edit your question, so we can read the code (and perhaps copy it to run it locally). – akop Jun 17 '22 at 06:49
  • Maybe you can try to check if the database exists,you can refer to the [link](https://stackoverflow.com/questions/44666602/ef6-nullreferenceexception-with-any-tolist). – Yiyi You Jun 20 '22 at 08:25

1 Answers1

0

Judging based on limited information provided. Simply put it means that you are trying to use something that doesn't exist. Essentially this enter image description here is returning a null value.

Without better question can't provide further help

Aeseir
  • 7,754
  • 10
  • 58
  • 107