コード例 #1
0
ファイル: ProductService.cs プロジェクト: stavro007/TinyCrm
 public ProductService(TinyCrmDBcontext db)
 {
     db_ = db;
 }
コード例 #2
0
 public OrderService(TinyCrmDBcontext db, ICustomerService customerservice)
 {
     db_ = db;
     customerservice_ = customerservice;
 }
コード例 #3
0
 public CustomerService(TinyCrmDBcontext db)
 {
     db_ = db;
 }
コード例 #4
0
 public CustomerController()
 {
     dbcontext_       = new TinyCrmDBcontext();
     customerService_ = new CustomerService(dbcontext_);
 }