1
I need to upload a file that is in the folder App_Data
, but I saw that it is not possible to use the Server.MapPath
in my business layer.
Which approach is most appropriate for this case?
Add the reference of System.Web
in my ClassLibrary
and use the Server.MapPath
is feasible?