11using Belgrade . SqlClient ;
22using Microsoft . AspNetCore . Authentication ;
33using Microsoft . AspNetCore . Authentication . Cookies ;
4- using Microsoft . AspNetCore . Authorization ;
54using Microsoft . AspNetCore . Mvc ;
65using Microsoft . Extensions . Logging ;
76using System ;
1211
1312namespace wwi_app . Controllers
1413{
15- public class FrontEndController : Controller
14+ public partial class FrontEndController : Controller
1615 {
1716 private readonly ICommand queryService ;
1817 private readonly ILogger _logger ;
@@ -22,81 +21,6 @@ public FrontEndController(ICommand queryService, ILogger<FrontEndController> log
2221 this . queryService = queryService ;
2322 this . _logger = logger ;
2423 }
25-
26- [ ResponseCache ( Duration = 60 ) ]
27- public IActionResult Index ( ) { return View ( ) ; }
28-
29- [ ResponseCache ( Duration = 60 ) ]
30- public IActionResult Offers ( ) { return View ( ) ; }
31-
32- [ ResponseCache ( Duration = 60 ) ]
33- public IActionResult Contact ( ) { return View ( ) ; }
34-
35- [ Authorize ]
36- public IActionResult BuyingGroups ( ) { return View ( ) ; }
37-
38- [ Authorize ]
39- public IActionResult Cities ( ) { return View ( ) ; }
40-
41- [ Authorize ]
42- public IActionResult Colors ( ) { return View ( ) ; }
43-
44- [ Authorize ]
45- public IActionResult Countries ( ) { return View ( ) ; }
46-
47- [ Authorize ]
48- public IActionResult CustomerCategories ( ) { return View ( ) ; }
49-
50- [ Authorize ]
51- public IActionResult Customers ( ) { return View ( ) ; }
52-
53- [ Authorize ]
54- public IActionResult CustomerTransactions ( ) { return View ( ) ; }
55-
56- [ Authorize ]
57- public IActionResult Dashboard ( ) { return View ( ) ; }
58-
59- [ Authorize ]
60- public IActionResult Deals ( ) { return View ( ) ; }
61-
62- [ Authorize ]
63- public IActionResult DeliveryMethods ( ) { return View ( ) ; }
64-
65- [ Authorize ]
66- public IActionResult Invoices ( ) { return View ( ) ; }
67-
68- [ Authorize ]
69- public IActionResult PackageTypes ( ) { return View ( ) ; }
70-
71- [ Authorize ]
72- public IActionResult PaymentMethods ( ) { return View ( ) ; }
73-
74- [ Authorize ]
75- public IActionResult PurchaseOrders ( ) { return View ( ) ; }
76-
77- [ Authorize ]
78- public IActionResult SalesOrders ( ) { return View ( ) ; }
79-
80- [ Authorize ]
81- public IActionResult StateProvinces ( ) { return View ( ) ; }
82-
83- [ Authorize ]
84- public IActionResult StockGroups ( ) { return View ( ) ; }
85-
86- [ Authorize ]
87- public IActionResult StockItems ( ) { return View ( ) ; }
88-
89- [ Authorize ]
90- public IActionResult SupplierCategories ( ) { return View ( ) ; }
91-
92- [ Authorize ]
93- public IActionResult Suppliers ( ) { return View ( ) ; }
94-
95- [ Authorize ]
96- public IActionResult SupplierTransactions ( ) { return View ( ) ; }
97-
98- [ Authorize ]
99- public IActionResult TransactionTypes ( ) { return View ( ) ; }
10024
10125 public async Task < IActionResult > Login ( string username , string password )
10226 {
0 commit comments