So I am working on an existing website project that has a BLL layer with some functions that use physical file paths.
But now I am creating a console app that will be setup as a windows scheduled task that will call some of these functions and it is complaining about not having the existing files.
Sounds to me like this breaks all separation of concern principles. Is it best to have the app, MVC layer in the existing website project, or anything else that calls the BLL to pass the file/path it needs to the BLL instead of practically hardcoding it? Done a search and there are so many calls to Server.MapPath() for example.