Hey guys, I have an architecture question and I am confused of how to design it properly (been banging my head against a wall for the last 2 days).
Basically, I have a WebAPI 2 Controller that I intend to use for email searching. It goes by the route ("api/emails/{repository}/{folder}/search")...
How I am planning to design it is to do a switch on repository.... say
switch(repository) {
}