I am trying to implement caching in an web application. The caching is to be done in the BLL.
The BLL method signiture is
public static List<Ailias> Select(List<Filter> filters)
and at the moment simply calls the corresponding method in the DAL.
The issue I'm having is my cache dependancy will be the filters object, whenever the filters object differs, a new DAL call should be made.
How can i add this dependency, all I can find in the docs is a dependancy on a file?