Esempio n. 1
0
 public ProductService(TinyCrmDBcontext db)
 {
     db_ = db;
 }
Esempio n. 2
0
 public OrderService(TinyCrmDBcontext db, ICustomerService customerservice)
 {
     db_ = db;
     customerservice_ = customerservice;
 }
Esempio n. 3
0
 public CustomerService(TinyCrmDBcontext db)
 {
     db_ = db;
 }
Esempio n. 4
0
 public CustomerController()
 {
     dbcontext_       = new TinyCrmDBcontext();
     customerService_ = new CustomerService(dbcontext_);
 }