Skip to content

passing request collection as to service#51

Open
alamriku wants to merge 1 commit intorefactor_dependencyfrom
passing_request_to_service
Open

passing request collection as to service#51
alamriku wants to merge 1 commit intorefactor_dependencyfrom
passing_request_to_service

Conversation

@alamriku
Copy link
Copy Markdown
Owner

@alamriku alamriku commented Dec 9, 2020

No description provided.

Copy link
Copy Markdown
Collaborator

@me-shaon me-shaon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few minor issues commented on. Fix and merge the PR by yourself.


public function destroy($user)
{
dd($user);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove it.

}

public function updateUser($request, $profile)
public function updateUser($request, $id)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename the parameter to $data, instead of $request. Update in all the methods in Service classes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants