internal Profile GetOrCreateAccountProfile(Profile userInfo) { Profile profile = _repo.GetAccountById(userInfo.Id); if (profile == null) { return(_repo.CreateAccount(userInfo)); } return(profile); }
internal Profile GetOrCreateAccountProfile(Profile userInfo) { Profile profile = _repo.GetAccountById(userInfo.Id); if (profile == null) { return(_repo.CreateAccount(userInfo)); } return(profile); }