forgot to add smth...

This commit is contained in:
Никита Волков 2024-04-16 22:07:09 +04:00
parent 586e573fc0
commit bb0bb04fc0
2 changed files with 8 additions and 0 deletions

View File

@ -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)

View File

@ -55,5 +55,7 @@ namespace ComputersShopListImplement.Models
DateOpening = DateOpening, DateOpening = DateOpening,
Computers = Computers Computers = Computers
}; };
public int Capacity => throw new NotImplementedException();
} }
} }