restrictedLocationRepository= $restrictedLocationRepository; } public function getActiveAll() { return $this->restrictedLocationRepository->getActiveAll(); } public function getActiveAllWithoutColor() { return $this->restrictedLocationRepository->getActiveAllWithoutColor(); } public function getColorAttr() { return $this->restrictedLocationRepository->getColorAttr(); } public function save($data) { return $this->restrictedLocationRepository->create($data); } public function update($data,$id) { return $this->restrictedLocationRepository->update($data,$id); } public function getAll() { return $this->restrictedLocationRepository->getAll(); } public function deleteById($id) { return $this->restrictedLocationRepository->delete($id); } public function findById($id) { return $this->restrictedLocationRepository->find($id); } public function getAttributeForSpecificCategory($category_id, $category_ids) { return $this->restrictedLocationRepository->getAttributeForSpecificCategory($category_id, $category_ids); } public function getColorAttributeForSpecificCategory($category_id, $category_ids) { return $this->restrictedLocationRepository->getColorAttributeForSpecificCategory($category_id, $category_ids); } public function getColorAttributeForSpecificBrand($brand_id) { return $this->restrictedLocationRepository->getColorAttributeForSpecificBrand($brand_id); } public function getAttributeForSpecificBrand($brand_id) { return $this->restrictedLocationRepository->getAttributeForSpecificBrand($brand_id); } }