public List <AreaEntity> GetAreaByName(string searchTerm, int pageSize, int pageNum, int?subAreaId) { _productDataAccess = new ProductDataAccess(_context); return(_productDataAccess.GetAreaByName(searchTerm, pageSize, pageNum, subAreaId)); }