コード例 #1
0
 public ClientController(IProductData LaptopData, IDepartmentData DepartmentData, IShoppingCartData shoppingCartData, IHostingEnvironment env, UserManager <User> userManager)
 {
     _ProductData      = LaptopData;
     _DepartmentData   = DepartmentData;
     _shoppingCartData = shoppingCartData;
     _env         = env;
     _userManager = userManager;
 }
コード例 #2
0
 public ProductController(IProductData LaptopData, IDepartmentData DepartmentData, IHostingEnvironment env)
 {
     _ProductData    = LaptopData;
     _DepartmentData = DepartmentData;
     _env            = env;
 }
コード例 #3
0
 public DepartmentController(IDepartmentData DepartmentData, IProductData ProductData)
 {
     _DepartmentData = DepartmentData;
     _ProductData    = ProductData;
 }
コード例 #4
0
 public DepartmentController(IDepartmentData departmentData)
 {
     _departmentData = departmentData;
 }
コード例 #5
0
 public EmployeeController(IEmployeeData employeeData, IDepartmentData departmentData)
 {
     _employeeData   = employeeData;
     _departmentData = departmentData;
 }
コード例 #6
0
 private void SetDependencies(IDepartmentData deptData)
 {
     this.DepartmentData = deptData;
 }
コード例 #7
0
 public DepartmentManager(IDepartmentData deptData)
 {
     this.SetDependencies(deptData);
 }
コード例 #8
0
 public ListModel(IDepartmentData departmentData)
 {
     _departmentData = departmentData;
 }
コード例 #9
0
 public EditModel(IPlantData plantData, IDepartmentData departmentData, IHtmlHelper htmlHelper)
 {
     _plantData      = plantData;
     _departmentData = departmentData;
     _htmlHelper     = htmlHelper;
 }
コード例 #10
0
 public DeleteModel(IDepartmentData departmentData)
 {
     _departmentData = departmentData;
 }