private void UpdateOrganizer(DtoOrganizer source, Organizer target) { target.FirstName = source.FirstName; target.LastName = source.LastName; target.City = source.City; target.State = source.State; target.City = source.City; target.Street = source.Street; }
public void SetOrganizer(Organizer ar) { _editingOrganizer = ar; if (Organizer != null) { Organizer.ErrorsChanged -= RaiseCanExecuteChanged; } Organizer = new DtoOrganizer(); Organizer.ErrorsChanged += RaiseCanExecuteChanged; CopyOrganizer(ar, Organizer); }
private void CopyOrganizer(Organizer source, DtoOrganizer target) { target.Id = source.Id; if (EditMode) { target.FirstName = source.FirstName; target.LastName = source.LastName; target.City = source.City; target.State = source.State; target.City = source.City; target.Street = source.Street; } }