I made an new MVC project and I made insert function into db. My problem is that when i enter a model into db it records twice. Tried debugging, but unfortunately couldn't find the mistake. Is there any miss in the code below?I made an new MVC project and I made insert fun