public EquipmentRepository(EquipmentRentingContext equipmentRentingContext, ILoggerService logger, IMapper mapper) :
     base(equipmentRentingContext, logger)
 {
     _mapper = mapper;
     _logger = logger;
     _equipmentRentingContext = equipmentRentingContext;
 }
示例#2
0
 public RepositoryWrapper(EquipmentRepository equipment, IMapper mapper, EquipmentRentingContext equipmentRentingContext, ILoggerService loggerService)
 {
     _mapper                  = mapper;
     _loggerService           = loggerService;
     _equipmentRentingContext = equipmentRentingContext;
 }
示例#3
0
 public EquipmentsController(EquipmentRentingContext context)
 {
     _context = context;
 }
示例#4
0
 public RepositoryBase(EquipmentRentingContext equipmentDbContext, ILoggerService logger)
 {
     _equipmentDbContext = equipmentDbContext;
     _logger             = logger;
 }