forgot to add smth...
This commit is contained in:
parent
586e573fc0
commit
bb0bb04fc0
@ -2,6 +2,7 @@
|
|||||||
using ComputersShopContracts.SearchModels;
|
using ComputersShopContracts.SearchModels;
|
||||||
using ComputersShopContracts.StoragesContracts;
|
using ComputersShopContracts.StoragesContracts;
|
||||||
using ComputersShopContracts.ViewModels;
|
using ComputersShopContracts.ViewModels;
|
||||||
|
using ComputersShopDataModels.Models;
|
||||||
using ComputersShopListImplement.Models;
|
using ComputersShopListImplement.Models;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@ -107,6 +108,11 @@ namespace ComputersShopListImplement.Implements
|
|||||||
return newShop.GetViewModel;
|
return newShop.GetViewModel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public bool SellComputers(IComputerModel model, int quantity)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
public ShopViewModel? Update(ShopBindingModel model)
|
public ShopViewModel? Update(ShopBindingModel model)
|
||||||
{
|
{
|
||||||
foreach (var Shop in _source.Shops)
|
foreach (var Shop in _source.Shops)
|
||||||
|
@ -55,5 +55,7 @@ namespace ComputersShopListImplement.Models
|
|||||||
DateOpening = DateOpening,
|
DateOpening = DateOpening,
|
||||||
Computers = Computers
|
Computers = Computers
|
||||||
};
|
};
|
||||||
|
|
||||||
|
public int Capacity => throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user