diff --git a/HardwareShop/HardwareShopClientApp/Controllers/WorkerController.cs b/HardwareShop/HardwareShopClientApp/Controllers/WorkerController.cs index 75f367c..4e8da7a 100644 --- a/HardwareShop/HardwareShopClientApp/Controllers/WorkerController.cs +++ b/HardwareShop/HardwareShopClientApp/Controllers/WorkerController.cs @@ -65,17 +65,11 @@ namespace HardwareShopClientApp.Controllers [HttpPost] public void Builds(int id) { - Response.Redirect("Build"); + Response.Redirect("LinkPurchase"); } [HttpGet] - public IActionResult Build() - { - return View(); - } - - [HttpGet] - public IActionResult linkingBuild() + public IActionResult LinkPurchase() { return View(); } diff --git a/HardwareShop/HardwareShopClientApp/Views/Shared/_LayoutWorker.cshtml b/HardwareShop/HardwareShopClientApp/Views/Shared/_LayoutWorker.cshtml new file mode 100644 index 0000000..22ce847 --- /dev/null +++ b/HardwareShop/HardwareShopClientApp/Views/Shared/_LayoutWorker.cshtml @@ -0,0 +1,58 @@ + + +
+ + +