예제 #1
0
 public void AddCorporationVM(Corporation corporation)
 {
     CorporationList.Add(new CorporationViewModel()
     {
         Data = corporation
     });
 }
예제 #2
0
        void Handle(Input.CreateCorporation action)
        {
            var Corporation = new Corporation
            {
                Name = CoporationNameToAdd
            };

            Transaction.Commit();
            AddCorporationVM(Corporation);
        }