Example #1
0
 public SalesAccountActivityResource Visit(SalesAccountUpdateTurnoverBandUriActivity activity)
 {
     return(new SalesAccountUpdateTurnoverBandUriActivityResource
     {
         ActivityType = activity.GetType().Name,
         ChangedOn = DateTime.SpecifyKind(activity.ChangedOn, DateTimeKind.Utc).ToString("o"),
         TurnoverBandUri = activity.TurnoverBandUri,
         UpdatedByUri = activity.UpdatedByUri
     });
 }
Example #2
0
 private void UpdateTurnoverBand(SalesAccountUpdateTurnoverBandUriActivity updateActivity)
 {
     this.TurnoverBandUri = updateActivity.TurnoverBandUri;
     this.Activities.Add(updateActivity);
 }