示例#1
0
 public AccountController(EnhancedApplicationUserManager userManager,
                          IOwinContextAccessor owinContext,
                          IChaufferDbContext _context)
 {
     UserManager  = userManager;
     _owinContext = owinContext;
     context      = _context;
 }
示例#2
0
 public BookingsController
 (
     IChaufferDbContext context,
     ICreateBookingCommand createBookingCommand,
     IEditBookingCommand editBookingCommand,
     ICreateStopCommand createStopCommand
 )
 {
     this.context = context;
     this.createBookingCommand = createBookingCommand;
     this.editBookingCommand   = editBookingCommand;
     this.createStopCommand    = createStopCommand;
 }
示例#3
0
 public CancelBookingCommand(IChaufferDbContext context)
 {
     this.context = context;
 }
示例#4
0
 public CreateStopCommand(IChaufferDbContext context)
 {
     this.context = context;
 }
示例#5
0
 public CreateDriverCommand(IChaufferDbContext context)
 {
     this.context = context;
 }
示例#6
0
 public CreateCustomerCommand(IChaufferDbContext context)
 {
     this.context = context;
 }
 public EditBookingCommand(IChaufferDbContext context)
 {
     this.context = context;
 }
示例#8
0
 public EditDriverCommand(IChaufferDbContext context)
 {
     this.context = context;
 }
 public CustomersController(ICreateCustomerCommand createCustomerCommand, IChaufferDbContext context)
 {
     this.context = context;
     this.createCustomerCommand = createCustomerCommand;
 }
 public CreateBookingCommand(IChaufferDbContext context)
 {
     this.context = context;
 }