You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ShopNCook/Controllers/MorePageController.cs

25 lines
492 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShoopNCook.Controllers
{
public class MorePageController
{
private readonly IApp app;
public MorePageController(IApp app) {
this.app = app;
}
public void Logout()
{
app.Notifier.Notice("You have been loged out.");
app.ForceLogin();
}
}
}