public static void Init(TestContext context) { var kernel = new StandardKernel(); Config.RegisterServices(kernel); logic = kernel.Get <IShopLogic>(); }
public ShopModel(IAddressLogic addressLogic, ITypeOfShopLogic typeOfShopLogic, IShopLogic shopLogic, IUserLogic userLogic, IRatingLogic ratingLogic) { _addressLogic = addressLogic; _typeOfShopLogic = typeOfShopLogic; _shopLogic = shopLogic; _userLogic = userLogic; _ratingLogic = ratingLogic; }
public ShopController(IShopLogic shopLogic, IConfiguration config) { _config = config; _shopLogic = shopLogic; }
public ShopController(IShopLogic shopLogic, IUserLogic userLogic, IRatingLogic ratingLogic) { _shopLogic = shopLogic; _userLogic = userLogic; _ratingLogic = ratingLogic; }
public OrdersController(ICustomerLogic customerLogic, IShopLogic shopLogic) { this.customerLogic = customerLogic; this._shopLogic = shopLogic; }