Exemple #1
0
        public static ServiceLanguageAssociation ToServiceLanguageAssociation(this ServiceLanguageAssociationV1DTO item)
        {
            if (item == null)
            {
                throw new ArgumentNullException(nameof(item));
            }

            ServiceLanguageAssociation serviceLanguageAssociation = new ServiceLanguageAssociation();

            serviceLanguageAssociation.CopyFromServiceLanguageAssociationV1DTO(item);
            return(serviceLanguageAssociation);
        }
Exemple #2
0
 public static void CopyFromServiceLanguageAssociation(this ServiceLanguageAssociationV1DTO to, ServiceLanguageAssociation from)
 {
     to.ServiceLanguageAssociation1 = from.ServiceLanguageAssociation1;
     to.ServiceId  = from.ServiceId;
     to.LanguageId = from.LanguageId;
 }