public function postEmployeeCategoryNew(CreateEmployeeCategoryRequest $request) { return $this->printPartial(view('employees::partials.employee_category', ['employee_category' => $this->employeeRepository->createEmployeeCategory($request->all())]), trans('employees::employee_category.employee_category_created')); }
public function attributes() { $createRequest = new CreateEmployeeCategoryRequest(); return $createRequest->attributes(); }