public CartController( OShopDbContext db, IUnitOfWork unitOfWork, ICartRepository cartRepository, IMapper mapper ) { this.unitOfWork = unitOfWork; this.cartRepository = cartRepository; this.mapper = mapper; this.db = db; }
public TestController(OShopDbContext db) { this.db = db; }