Added logout functionality. IO-403
This commit is contained in:
@@ -174,5 +174,25 @@ namespace BodyshopPartner.ViewModels
|
||||
}
|
||||
}
|
||||
|
||||
private ICommand _logoutCommand;
|
||||
public ICommand LogoutCommand
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_logoutCommand == null)
|
||||
{
|
||||
_logoutCommand = new RelayCommand(
|
||||
p => true,
|
||||
p =>
|
||||
{
|
||||
Logout();
|
||||
});
|
||||
}
|
||||
return _logoutCommand;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user