0

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?

2
  • 2
    What's in them, logic? Perhaps a separate class library project Commented May 22, 2014 at 14:28
  • 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. Commented May 22, 2014 at 14:30

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.