Lately, I encountered a slowdown in my website and already found the cause. The reason behind is because the methods in my DA layer has IEnumerable parameters instead of IQueryable. I already refactored the parameters in my DA and the solution was built successfully. However upon replacing the dll of DA in prod, the error method not found happened in the BL layer. The method it was looking for was the previous which has the IEnumerable parameter. Why am I encountering this when I built the code in my solution without fail?
NOTE: I did not replace any other dll except for the DA