Example #1
0
        public Better AddBetter(User user)
        {
            bool betterAlreadyExists = GetBetterByName(user.Name) != null;

            if (betterAlreadyExists)
            {
                return(null);
            }

            Betters.Add(Better.Create(user, this));
            return(Betters.Last());
        }