示例#1
0
 public LoadOfficesCommand(IAutoRentContext context)
 {
     this.context = context ?? throw new ArgumentNullException("context");
 }
示例#2
0
 public ChooseUserCommand(IAutoRentContext context, IOrderComposer orderComposer)
 {
     this.context       = context ?? throw new ArgumentNullException("context");
     this.orderComposer = orderComposer ?? throw new ArgumentNullException("orderComposer");
 }
示例#3
0
 public CreateUserCommand(IAutoRentContext context)
 {
     this.context = context ?? throw new ArgumentNullException("context");
 }
 public AddCarToOfficeCommand(IAutoRentContext context)
 {
     this.context = context;
 }
示例#5
0
 public DeleteCarCommand(IAutoRentContext context)
 {
     this.context = context ?? throw new ArgumentNullException("context");
 }