예제 #1
0
 public UserRepository(DivingAPIContext context, IPropertyMappingService propertyMapping)
 {
     _context         = context ?? throw new ArgumentNullException(nameof(context));
     _propertyMapping = propertyMapping ?? throw new ArgumentNullException(nameof(propertyMapping));
 }
예제 #2
0
 public CommentRepository(DivingAPIContext context, IPropertyMappingService propertyMapping)
 {
     _context         = context;
     _propertyMapping = propertyMapping;
 }