Skip to content

Check if customer exists #3

@paulojunior-ufla

Description

@paulojunior-ufla

@codebangkok, in the method below, is not necessary to check if the customer exists before adding him/her to a new account?

func (s accountService) NewAccount(customerID int, request NewAccountRequest) (*AccountResponse, error) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions