Exemplo n.º 1
0
 public static void CopyValuesFrom(this IParameterEntryViewModel target, IParameterEntryViewModel source)
 {
     target.Name               = source.Name;
     target.Description        = source.Description;
     target.Value              = source.Value;
     target.GroupName          = source.GroupName;
     target.GroupDescription   = source.GroupDescription;
     target.CatalogName        = source.CatalogName;
     target.CatalogDescription = source.CatalogDescription;
 }
Exemplo n.º 2
0
        public static ParameterEntry ToEntity(this IParameterEntryViewModel vm)
        {
            var dto = vm.Map <IParameterEntryViewModel, ParameterEntry>();

            return(dto);
        }