コード例 #1
0
ファイル: Printer.cs プロジェクト: Mariusus/CandleShop
 public Printer(ICandleService CandleService)
 {
     _CandleService = CandleService;
     Console.SetWindowSize(130, 44);
     Console.WriteLine("Candles shop \n  Write the shown number for selection  \n____1: Display all available pets \n____2: Search pets by type \n____3: Create a new candle \n____4: Delete a candle \n____5: Update a pet \n____6: Sort pets by price from lowest \n____7: Get 5 cheapest available pets");
     Console.ReadLine();
     MakeMenu();
 }
コード例 #2
0
 public CandlesController(ICandleService petShopService)
 {
     _candleService = petShopService;
 }
コード例 #3
0
 public CandlesController(ICandleService candlesService)
 {
     _candlesService = candlesService;
 }