public VirtualMachineRepository(RentingServiceContext context, IMapper mapper) { _context = context ?? throw new ArgumentNullException(nameof(context)); _mapper = mapper; }
public CustomerRepository(RentingServiceContext context, IMapper mapper) { _context = context; _mapper = mapper; }