Example #1
0
 public Business()
 {
     _samuraiRepo = new SamuraiRepo();
     _horseRepo   = new HorseRepo();
     _quoteRepo   = new QuoteRepo();
     _battleRepo  = new BattleRepo();
 }
 public SamuraisViewModel()
 {
     AddSamuraiCommand = new Command(AddSamurai);
     Title             = "Samurais";
     repo = SamuraiRepo.GetInstance();
     GetSamurais();
 }
Example #3
0
 public Business()
 {
     _context = new SamuraiContext();
     _repo    = new SamuraiRepo();
 }
 public NewSamuraiViewModel()
 {
     samuraisViewModel = new SamuraisViewModel();
     SelectedSamurai   = new Samurai();
     repo = SamuraiRepo.GetInstance();
 }
Example #5
0
 public Business()
 {
     _repo   = new SamuraiRepo();
     _battle = new BattleRepo();
 }
Example #6
0
 public Business()
 {
     _repo = new SamuraiRepo();
 }