public List <SubAreaEntity> GetSubAreaByName(string searchTerm, int pageSize, int pageNum, int?areaId) { _productDataAccess = new ProductDataAccess(_context); return(_productDataAccess.GetSubAreaByName(searchTerm, pageSize, pageNum, areaId)); }