From b1eb36d3fbc5012b07489454a7452e8488507f6a Mon Sep 17 00:00:00 2001 From: marcinzelent Date: Sun, 21 Feb 2021 14:13:49 +0100 Subject: Initial commit --- Controllers/CheckOrdersController.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Controllers/CheckOrdersController.cs (limited to 'Controllers/CheckOrdersController.cs') diff --git a/Controllers/CheckOrdersController.cs b/Controllers/CheckOrdersController.cs new file mode 100644 index 0000000..861fb2e --- /dev/null +++ b/Controllers/CheckOrdersController.cs @@ -0,0 +1,17 @@ +using System.Collections.Generic; +using KukaPizza.Models; +using KukaPizza.Views; + +namespace KukaPizza.Controllers +{ + public class CheckOrdersController : Controller + { + private static Database db = Database.Instance; + + public List Orders { get { return db.Orders; } } + public CheckOrdersController() + { + new CheckOrdersView(this); + } + } +} \ No newline at end of file -- cgit v1.2.3