Esempio n. 1
0
        public HomeController(IUserService userService, IProductService productService, IAuctionLotService auctionLotService)
        {
            _userService = userService;
            var mapconfig = new MapperConfiguration(m => m.AddProfile(new MapperProfile()));

            _mapper            = mapconfig.CreateMapper();
            _productservice    = productService;
            _auctionLotService = auctionLotService;
        }
Esempio n. 2
0
 public AuctionLotController(IAuctionLotService auctionLotService)
 {
     _auctionLotService = auctionLotService;
 }