0
votes

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?

1
What's in them, logic? Perhaps a separate class library project - Tom
Where you put something would logically be driven by what that something is. There shouldn't be a generic repository for nondescript code. Instead, for any given object, what is that object in relation to the entire system? Similar objects can be grouped into a folder, into a project, etc. - David

1 Answers

1
votes

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