Exemplo n.º 1
0
 public CustomerController(IBillRepository billDatabase, IUserProfileRepository userProfileDatabase, IBillProductRepository billProductDatabase, IProductRepository proDatabase)
 {
     _billDatabase        = billDatabase;
     _userProfileDatabase = userProfileDatabase;
     _billProductDatabase = billProductDatabase;
     _proDatabase         = proDatabase;
 }
 public CartController(DatabaseContext database, IBillRepository billDatabase, IUserProfileRepository userProfileDatabase, IBillProductRepository billProductDatabase, IProductRepository proDatabase)
 {
     _database            = database;
     _billDatabase        = billDatabase;
     _userProfileDatabase = userProfileDatabase;
     _billProductDatabase = billProductDatabase;
     _proDatabase         = proDatabase;
 }
 public BillProductController(IBillProductRepository billProductRepository)
 {
     _billProductRepository = billProductRepository;
 }