Example #1
0
        public static Community ToCommunity(this CommunityV1DTO item)
        {
            if (item == null)
            {
                throw new ArgumentException(nameof(item));
            }

            Community community = new Community();

            community.CopyFromCommunityV1DTO(item);
            return(community);
        }