aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcinzelent <marcin@zelent.net>2021-02-21 14:13:49 +0100
committermarcinzelent <marcin@zelent.net>2019-12-20 14:21:37 +0100
commitb1eb36d3fbc5012b07489454a7452e8488507f6a (patch)
treef6a9e6e561eabde5b06366a6aeac78df123ca917 /Controllers/CheckOrdersController.cs
Initial commitHEADmaster
Diffstat (limited to 'Controllers/CheckOrdersController.cs')
-rw-r--r--Controllers/CheckOrdersController.cs17
1 files changed, 17 insertions, 0 deletions
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<PizzaOrder> Orders { get { return db.Orders; } }
+ public CheckOrdersController()
+ {
+ new CheckOrdersView(this);
+ }
+ }
+} \ No newline at end of file