示例#1
0
 public GeneralMenu(IStoreLocationBL StoreLoBL, IBuyerBL buyerBL, IOrderBL orderBL, IManagerBL managerBL)
 {
     this._storeLoBL = StoreLoBL;
     this._buyerBL   = buyerBL;
     this._orderBL   = orderBL;
     this._managerBL = managerBL;
 }
        // private readonly DataContext _context;
        // private readonly IMediator _mediator;
        // private readonly ILogger<BuyerController> _logger;

        public BuyerController(IBuyerBL buyerBL) //IMediator mediator)
        {
            _buyerBL = buyerBL;
            // _mediator = mediator;
        }
示例#3
0
 /// <summary>
 /// Menu for the customers
 /// </summary>
 /// <param name="StoreLoBL">StoreBL to be enacted upon</param>
 /// <param name="BuyerBL">Buyer BL for buyer based queries</param>
 /// <param name="OBL">Order BL for order based queries</param>
 public CustomerMenu(IStoreLocationBL StoreLoBL, IBuyerBL BuyerBL, IOrderBL OBL)
 {
     this._storeLoBL = StoreLoBL;
     this._buyerBL   = BuyerBL;
     this._orBL      = OBL;
 }