예제 #1
0
 public InventoryItemService(ICommandSender <Cqrs.Authentication.ISingleSignOnToken> commandSender, IUnitOfWorkService unitOfWorkService, IQueryFactory queryFactory, IAuthenticationTokenHelper <Cqrs.Authentication.ISingleSignOnToken> authenticationTokenHelper, ICorrolationIdHelper corrolationIdHelper, IInventoryItemRepository inventoryItemRepository)
 {
     CommandSender             = commandSender;
     UnitOfWorkService         = unitOfWorkService;
     QueryFactory              = queryFactory;
     AuthenticationTokenHelper = authenticationTokenHelper;
     CorrolationIdHelper       = corrolationIdHelper;
     InventoryItemRepository   = inventoryItemRepository;
 }
예제 #2
0
 public HomeController(IInventoryItemService inventoryItemService, IUserService userService, ICorrolationIdHelper corrolationIdHelper)
 {
     InventoryItemService = inventoryItemService;
     UserService          = userService;
     CorrolationIdHelper  = corrolationIdHelper;
 }