public void Prepare(ActivityEntity activityEntity) { activityEntity.State = "Ready"; service.Edit(activityEntity); }