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; }
public AuctionLotController(IAuctionLotService auctionLotService) { _auctionLotService = auctionLotService; }