public Profile GetOrCreateProfile(Profile userInfo) { Profile foundProfile = _repo.GetOneProfile(userInfo.Id); if (foundProfile == null) { return(_repo.Create(userInfo)); } return(foundProfile); }