public CustomProcessTransitionPresenter(IUnityContainer container, ICustomProcessTransitionView view)
        {
            View = view;
            this.container = container;
            this.service = new WMSServiceClient();
            View.Model = this.container.Resolve<CustomProcessTransitionModel>();

            //Event Delegate
            View.LoadSearch += new EventHandler<DataEventArgs<string>>(this.OnLoadSearch);
            View.New += new EventHandler<EventArgs>(this.OnNew);
            View.LoadData += new EventHandler<DataEventArgs<CustomProcessTransition>>(this.OnLoadData);
            View.Save += new EventHandler<EventArgs>(this.OnSave);
            View.Delete += new EventHandler<EventArgs>(this.OnDelete);
            View.LoadContextKey += new EventHandler<EventArgs>(View_LoadContextKey);

            View.Model.EntityList = service.GetCustomProcessTransition(new CustomProcessTransition());
            View.Model.Record = null;

            view.Model.CustomProcessList = service.GetCustomProcess(new CustomProcess());
            View.Model.CustomProcessActivityList = service.GetCustomProcessActivity(new CustomProcessActivity());
            View.Model.CustomProcessNextActivityList = service.GetCustomProcessActivity(new CustomProcessActivity());
        }