Exemplo n.º 1
0
 public UserRepository(DivingAPIContext context, IPropertyMappingService propertyMapping)
 {
     _context         = context ?? throw new ArgumentNullException(nameof(context));
     _propertyMapping = propertyMapping ?? throw new ArgumentNullException(nameof(propertyMapping));
 }
Exemplo n.º 2
0
 public CommentRepository(DivingAPIContext context, IPropertyMappingService propertyMapping)
 {
     _context         = context;
     _propertyMapping = propertyMapping;
 }