public ModifiersController(IModifierService modifierService)
 {
     this.modifierService = modifierService;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ModifierController"/> class.
 /// </summary>
 /// <param name="modifierService">The modifier service.</param>
 public ModifierController(IModifierService modifierService)
 {
     _modifierService           = modifierService;
     _modifierService.CompanyId = CompanyId;
     _modifierService.UserId    = UserId;
 }
 public ItemsController(IItemService itemService, IModifierService modifierService)
 {
     this.itemService     = itemService;
     this.modifierService = modifierService;
 }