public GetFiltersResponse GetFilters() { var getFiltersResponse = new GetFiltersResponse(); try { var _dataAccessResponse = _productDataAccess.GetFilters(); if (_dataAccessResponse != null) { getFiltersResponse = _productHelper.CreateCategoryTree(_dataAccessResponse); } } catch (Exception ex) { Console.WriteLine("ProductModel.GetFilters : ERROR : " + ex.Message); throw; } return(getFiltersResponse); }