Пример #1
0
 public VirtualMachineRepository(RentingServiceContext context, IMapper mapper)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
     _mapper  = mapper;
 }
Пример #2
0
 public CustomerRepository(RentingServiceContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }