public static SweepstakeThemeMember Create(SweepstakeTheme theme, Guid memberId, int number)
        {
            if (theme == null)
            {
                throw new ArgumentNullException("theme");
            }
            var result = new SweepstakeThemeMember();

            result.ThemeId  = theme.Id;
            result.MemberId = memberId;
            result.Number   = number;
            return(result);
        }
        public static SweepstakeTheme Create(string name, DateTime start, DateTime finish, int floor, int ceiling, List <int> definition)
        {
            if (string.IsNullOrEmpty(name))
            {
                throw new ArgumentNullException("name");
            }

            var result = new SweepstakeTheme();

            result.Name = name;
            result.Book = DataDefinition.SweepstakeThemeBook.Create(start, finish, floor, ceiling, definition);
            return(result);
        }