public static Community ToCommunity(this CommunityV1DTO item) { if (item == null) { throw new ArgumentException(nameof(item)); } Community community = new Community(); community.CopyFromCommunityV1DTO(item); return(community); }
public static Community ToCommunity(this CommunityV1DTO item) { if (item == null) { throw new ArgumentException(nameof(item)); } Community community = new Community(); community.CopyFromCommunityV1DTO(item); return(community); }