ISEbd-21 Melnikov I. O. Lab Work 05 Advanced #31
@ -50,7 +50,7 @@ namespace BlacksmithWorkshopStoreApp.Controllers
|
||||
public IActionResult Create(StoreBindingModel model)
|
||||
{
|
||||
APIClient.PostRequest("/api/store/createstore", model);
|
||||
return Redirect("~/Home/Stores");
|
||||
return Redirect("~/Home/Index");
|
||||
}
|
||||
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
|
||||
public IActionResult Error()
|
||||
|
Loading…
Reference in New Issue
Block a user