Funky
Funky

Reputation: 13602

Where Do I put non ViewModel classes in MVC?

I'm not too sure what is the best practice for putting a non ViewModel class? It seems like bad practice to put them into the Models folder if they are not used by the views.

Should I create a separate folder or just leave them in there?

Upvotes: 0

Views: 47

Answers (1)

Robert P
Robert P

Reputation: 157

you should create another project named Repository or DAL where you can keep things la Dto or other stuff

Upvotes: 1

Related Questions