예제 #1
0
        public async void AddSoldier()
        {
            EfetivoModel model = await SoldierMookup.Add("Lauro de Freitas", -3);

            var resultado = await SoldierDomain.Instance.AddSoldier(model);

            Assert.Equal(model.IdEfetivo, resultado.IdEfetivo);
        }
예제 #2
0
        public static async void Start()
        {
            await SoldierDomain.Instance.AddSoldier(await SoldierMookup.Add("Savastane", 1));

            await SoldierDomain.Instance.AddSoldier(await SoldierMookup.Add("Yoseph", 2));
        }