public BlanketAgreementController(BlanketAgreementService service, BlanketAgreementItemService detailService, ICategoryService ts, ICategoryItemService itemService) { this.service = service; this.categoryService = ts; this.itemService = itemService; this.detailService = detailService; }
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(); }
public AccountController(ZUSRService us, ICategoryService categoryService, ICategoryItemService itemService) { this.service = us; this.categoryService = categoryService; this.itemService = itemService; }
public CategoryItemController(ICategoryItemService service) { this.service = service; }
public CategoryItemsController(FoodTrackDbContext db, ICategoryItemService categoryItemService) { this.db = db; this._categoryItemService = categoryItemService; }