using Microsoft.Extensions.Logging; using FlowerShopContracts.BusinessLogicsContracts; using Microsoft.VisualBasic.Logging; using FlowerShopContracts.SearchModels; using System.Windows.Forms; namespace ProjectFlowerShop { public partial class ComponentForm : Form { private readonly ILogger _logger; private readonly IComponentLogic _logic; private int? _id; public int Id { set { _id = value; } } public ComponentForm(ILogger logger, IComponentLogic logic) { InitializeComponent(); _logger = logger; _logic = logic; } } }