public UserRepository(DivingAPIContext context, IPropertyMappingService propertyMapping) { _context = context ?? throw new ArgumentNullException(nameof(context)); _propertyMapping = propertyMapping ?? throw new ArgumentNullException(nameof(propertyMapping)); }
public CommentRepository(DivingAPIContext context, IPropertyMappingService propertyMapping) { _context = context; _propertyMapping = propertyMapping; }