/** * Create a resource * * @param mixed $data * @return ApiProblem|mixed */ public function create($data) { return $this->usersRepository->create($data); }
/** * Create a resource * * @param mixed $data * @return ApiProblem|mixed */ public function create($data) { return $this->usersRepository->create($data); //return new ApiProblem(405, 'The POST method has not been defined'); }