codebangkok/golang

Check if customer exists

Opened this issue · 0 comments

@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) {