Fix
This commit is contained in:
parent
855bcfd6ec
commit
b22d110752
@ -180,10 +180,14 @@ namespace AircraftPlantDatabaseImplement.Implements
|
||||
{
|
||||
shop.ShopPlanes[model.Id] = (shop.ShopPlanes[model.Id].Item1, countInCurrentShop - count);
|
||||
count = 0;
|
||||
shop.Update(new ShopBindingModel
|
||||
shop.UpdatePlanes(context, new ShopBindingModel
|
||||
{
|
||||
Id = shop.Id,
|
||||
ShopPlanes = shop.ShopPlanes
|
||||
ShopName = shop.ShopName,
|
||||
Address = shop.Address,
|
||||
DateOpening = shop.DateOpening,
|
||||
ShopPlanes = shop.ShopPlanes,
|
||||
MaxPlanes = shop.MaxPlanes
|
||||
});
|
||||
}
|
||||
if (count <= 0)
|
||||
|
Loading…
Reference in New Issue
Block a user