Esempio n. 1
0
        public void AddRank()
        {
            var c = this.dm.CreateObject <Rank>();

            c.Id = GuidComb.Generate();
            dm.AddRank(c);

            var vm = new RankViewModel(c);

            AllRanks.Add(vm);
            CurrentRank = vm;
        }
Esempio n. 2
0
        public void AddRank()
        {
            var c = this.dm.CreateObject<Rank>();
            c.Id = GuidComb.Generate();
            dm.AddRank(c);

            var vm = new RankViewModel(c);
            AllRanks.Add(vm);
            CurrentRank = vm;
        }