コード例 #1
0
 public VehiclesController(KartzMaxDbContext context, IMapper mapper, IVehicleRepository repository, IUnitOfWork unitOfWork)
 {
     this.unitOfWork = unitOfWork;
     this.repository = repository;
     this.mapper     = mapper;
     this.context    = context;
 }
コード例 #2
0
 public FeaturesController(KartzMaxDbContext context)
 {
     this.context = context;
 }
コード例 #3
0
 // Inject  KartzMaxDbContext
 // Inject Automapper
 public MakesController(KartzMaxDbContext context, IMapper mapper)
 {
     this.mapper  = mapper;
     this.context = context;
 }