Exemplo n.º 1
0
 public MainPageModel(IMainPage page)
 {
     InitializeNewGameRentals();
     _page = page;
     EditProfileCommand = new Command(async() => await _page.EditProfileAsync());
     LogInCommand       = new Command(async() => await _page.LogInAsync());
     LogOutCommand      = new Command(async() => await _page.LogOutAsync());
 }