예제 #1
0
 public BlanketAgreementController(BlanketAgreementService service, BlanketAgreementItemService detailService, ICategoryService ts, ICategoryItemService itemService)
 {
     this.service         = service;
     this.categoryService = ts;
     this.itemService     = itemService;
     this.detailService   = detailService;
 }
예제 #2
0
파일: CrmTest1.cs 프로젝트: ssjylsg/crm
 public override void MyTestInitialize()
 {
     _userInfoService = DependencyResolver.Resolver<IUserInfoService>();
     _departmentService = DependencyResolver.Resolver<IDeptService>();
     _categoryService = DependencyResolver.Resolver<ICategoryService>();
     _categoryItemService = DependencyResolver.Resolver<ICategoryItemService>();
     _operatorUser = _userInfoService.FindByUserName(this._loginName);
     _staff = _userInfoService.FindStaffById(1);
     _customerService = DependencyResolver.Resolver<ICustomerService>();
     base.MyTestInitialize();
 }
예제 #3
0
 public AccountController(ZUSRService us, ICategoryService categoryService, ICategoryItemService itemService)
 {
     this.service         = us;
     this.categoryService = categoryService;
     this.itemService     = itemService;
 }
예제 #4
0
 public CategoryItemController(ICategoryItemService service)
 {
     this.service = service;
 }
예제 #5
0
 public CategoryItemsController(FoodTrackDbContext db, ICategoryItemService categoryItemService)
 {
     this.db = db;
     this._categoryItemService = categoryItemService;
 }