done
This commit is contained in:
parent
f8a0daf4bf
commit
3a849375f9
@ -21,7 +21,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlacksmithWorkshopRestApi",
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlacksmithWorkshopClientApp", "BlacksmithWorkshopClientApp\BlacksmithWorkshopClientApp.csproj", "{7C06FD73-C60D-44A6-8699-C3BA0CCCB95B}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BlacksmithWorkshopShopApp", "BlacksmithWorkshopShopApp\BlacksmithWorkshopShopApp.csproj", "{AB28AF85-782E-41C6-8D28-BB08154CEE2B}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlacksmithWorkshopShopApp", "BlacksmithWorkshopShopApp\BlacksmithWorkshopShopApp.csproj", "{AB28AF85-782E-41C6-8D28-BB08154CEE2B}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
@ -134,7 +134,7 @@ namespace BlacksmithWorkshopShopApp.Controllers
|
||||
{
|
||||
throw new Exception("Вместимость магазина должна быть больше нуля");
|
||||
}
|
||||
var listManufacture = ApiClient.GetRequest<Dictionary<int, (IManufactureModel, int)>>($"api/shop/getshopmanufactures?shopId={shop}");
|
||||
var listManufacture = ApiClient.GetRequest<Dictionary<int, (IManufactureModel, int)>>($"api/shop/getlistmanufacture?shopId={shop}");
|
||||
ApiClient.PostRequest("api/shop/updateshop", new ShopBindingModel
|
||||
{
|
||||
Id = shop,
|
||||
|
@ -43,7 +43,7 @@
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="travels-table">
|
||||
<tbody id="manufactures-table">
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="row">
|
||||
@ -59,7 +59,7 @@
|
||||
if (shop) {
|
||||
$.ajax({
|
||||
method: "GET",
|
||||
url: "/Home/GetShopWithTravels",
|
||||
url: "/Home/GetShopWithManufactures",
|
||||
data: { shopId: shop },
|
||||
success: function (result) {
|
||||
if (result != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user