Skip to content
Permalink
3434c070a3
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
26 lines (19 sloc) 665 Bytes
using dotNET_NoWASTE.Data;
using dotNET_NoWASTE.ViewModels;
using dotNET_NoWASTE.Views;
namespace dotNET_NoWASTE;
public partial class AppShell : Shell
{
public AppShell()
{
InitializeComponent();
Routing.RegisterRoute(nameof(LoginPageView), typeof(LoginPageView));
Routing.RegisterRoute(nameof(SignUpPageView), typeof(SignUpPageView));
Routing.RegisterRoute(nameof(FoodPageView), typeof(FoodPageView));
Routing.RegisterRoute(nameof(AddFoodPageView), typeof(AddFoodPageView));
}
private async void OnSignOutButtonClicked(object sender, EventArgs e)
{
await Shell.Current.GoToAsync("//LoginPage");
}
}